26#ifndef __TERRALIB_MAPTOOLS_INTERNAL_ABSTRACTLAYERRENDERER_H
27#define __TERRALIB_MAPTOOLS_INTERNAL_ABSTRACTLAYERRENDERER_H
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.
An utility struct for representing 2D coordinates.
A helper class for 24-bit RGBA (Red-Green-Blue-Alpha channel) color.
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.
LineString is a curve with linear interpolation between points.
Polygon is a subclass of CurvePolygon whose rings are defined by linear rings.
~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.
AbstractRenderer()
Default Constructor.
A canvas is an abstraction of a drawing area.
This class represents the informations needed to build map charts.
A class that represents an R-tree.
The FeatureTypeStyle defines the styling that is to be applied to a dataset that can be viewed as a f...
A GraphicStroke defines a repeated-linear graphic pattern to be used for stroking a line.
A Graphic is a graphic symbol with an inherent shape, color(s), and possibly size.
A LineSymbolizer is used to style a stroke along a linear geometry type, such as a string of line seg...
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.
Namespace for the Common module of TerraLib.
Namespace for the DataAccess API of TerraLib.
Namespace for the Vector Geometry module of TerraLib.
Namespace for the Map Tools module of TerraLib.
Namespace for the Symbology Encoding module of TerraLib.
An implementation of R-tree data structure for main memory.