Go to the documentation of this file.
   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);
 
  199 #endif  // __TERRALIB_MAPTOOLS_INTERNAL_ABSTRACTLAYERRENDERER_H 
  
 
An Envelope defines a 2D rectangular region.
 
~AbstractLayerRenderer()
Destructor.
 
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
 
The FeatureTypeStyle defines the styling that is to be applied to a dataset that can be viewed as a f...
 
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 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 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)
 
This is the base class for renderers.
 
It renders the objects associated to a layer.
 
This class represents the informations needed to build map charts.
 
std::vector< te::gm::Coord2D > m_chartCoordinates
 
A TextSymbolizer is used to render text labels according to various graphical parameters.
 
This is the base class for layers.
 
A canvas is an abstraction of a drawing area.
 
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.
 
virtual void buildChart(Chart *chart, te::da::DataSet *dataset, te::gm::Geometry *geom)
 
It renders the objects associated to an abstract layer. i.e. a generic renderer.
 
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
 
A Symbolizer describes how a feature is to appear on a map.
 
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.
 
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.
 
std::vector< te::color::RGBAColor ** > m_chartImages