26 #ifndef __TERRALIB_MAPTOOLS_INTERNAL_ABSTRACTLAYERRENDERER_H
27 #define __TERRALIB_MAPTOOLS_INTERNAL_ABSTRACTLAYERRENDERER_H
30 #include "../color/RGBAColor.h"
31 #include "../geometry/Coord2D.h"
32 #include "../sam/rtree/Index.h"
62 class FeatureTypeStyle;
115 const std::string& geomPropertyName,
120 const double& scale,
bool* cancel);
137 const std::string& geomPropertyName,
140 int srid,
bool* cancel);
160 const std::string& geomPropertyName,
164 const double& scale,
bool* cancel);
This is the base class for renderers.
A wdiget used to customize a chart's style parameters.
This class can be used to inform the progress of a task.
A dataset is the unit of information manipulated by the data access module of TerraLib.
An Envelope defines a 2D rectangular region.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
It renders the objects associated to an abstract layer. i.e. a generic renderer.
~AbstractLayerRenderer()
Destructor.
te::sam::rtree::Index< std::size_t, 8 > m_rtree
virtual void drawLayerGrouping(AbstractLayer *layer, const std::string &geomPropertyName, Canvas *canvas, const te::gm::Envelope &bbox, int srid, bool *cancel)
It draws the grouping of the abstract layer in the given canvas using the SRS informed.
std::vector< te::gm::Coord2D > m_chartCoordinates
std::vector< te::color::RGBAColor ** > m_chartImages
virtual void drawDatSetTexts(te::da::DataSet *dataset, const std::size_t &gpos, Canvas *canvas, int fromSRID, int toSRID, te::se::TextSymbolizer *symb, bool *cancel, te::common::TaskProgress *task=0)
virtual void drawLayerGeometries(AbstractLayer *layer, const std::string &geomPropertyName, te::se::FeatureTypeStyle *style, Canvas *canvas, const te::gm::Envelope &bbox, int srid, const double &scale, bool *cancel)
It draws the abstract layer in the given canvas using the SRS informed.
virtual void drawLayerGroupingMem(AbstractLayer *layer, const std::string &geomPropertyName, Canvas *canvas, const te::gm::Envelope &bbox, int srid, const double &scale, bool *cancel)
It draws the grouping of the abstract layer in the given canvas using the SRS informed.
virtual void buildChart(Chart *chart, te::da::DataSet *dataset, te::gm::Geometry *geom)
virtual void draw(AbstractLayer *layer, Canvas *canvas, const te::gm::Envelope &bbox, int srid, const double &scale, bool *cancel)
It draws the layer geographic objects in the given canvas using the SRS informed.
virtual void drawDatSetGeometries(te::se::Symbolizer *symbolizer, te::da::DataSet *dataset, const std::size_t &gpos, Canvas *canvas, int fromSRID, int toSRID, Chart *chart, bool *cancel, te::common::TaskProgress *task=0)
It draws the data set geometries in the given canvas using the informed SRS.
WorldDeviceTransformer m_transformer
This is the base class for layers.
It renders the objects associated to a layer.
A canvas is an abstraction of a drawing area.
This class represents the informations needed to build map charts.
The FeatureTypeStyle defines the styling that is to be applied to a dataset that can be viewed as a f...
A Symbolizer describes how a feature is to appear on a map.
A TextSymbolizer is used to render text labels according to various graphical parameters.