It renders the objects associated to an abstract layer. i.e. a generic renderer.
More...
#include <AbstractLayerRenderer.h>
|
virtual void | buildChart (Chart *chart, te::da::DataSet *dataset, te::gm::Geometry *geom) |
|
virtual void | drawDatSetGeometries (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. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
virtual void | reset () |
|
It renders the objects associated to an abstract layer. i.e. a generic renderer.
- See also
- AbstractLayer, AbstractRenderer
Definition at line 78 of file AbstractLayerRenderer.h.
te::map::AbstractLayerRenderer::AbstractLayerRenderer |
( |
| ) |
|
te::map::AbstractLayerRenderer::~AbstractLayerRenderer |
( |
| ) |
|
It draws the layer geographic objects in the given canvas using the SRS informed.
The informed bounding box (bbox) is used to constraint the Layer objects to be drawn. The bbox coordinates must be in the Spatial Reference System given by srid.
- Parameters
-
layer | The layer that will be drawn. |
canvas | The canvas were the layer objects will be drawn. |
bbox | The interest area to render the map. |
srid | The SRS to be used to draw the layer objects. |
scale | The current scale to draw the layer. |
Implements te::map::AbstractRenderer.
It draws the data set geometries in the given canvas using the informed SRS.
- Parameters
-
dataset | The data set that will be drawn. |
gpos | The geometry property position that will be drawn. |
canvas | The canvas were the data set geometries will be drawn. |
fromSRID | The SRID of data set geometries. |
srid | The SRID to be used to draw the data set geometries. |
chart | Chart informations that can be used. |
task | An optional task that can be used cancel the draw process. |
It draws the abstract layer in the given canvas using the SRS informed.
The informed bounding box (bbox) is used to constraint the layer objects to be drawn. Here, we assume that the given bbox was pre-processed. i.e. the bbox was clipped and contains the same projection of abstract layer.
- Parameters
-
layer | The abstract layer that will be drawn. |
geomPropertyName | The geometry property name that will be drawn. |
style | The style that will be used. |
canvas | The canvas were the layer objects will be drawn. |
bbox | The interest area to render the map. |
srid | The SRS to be used to draw the layer objects. |
scale | The scale used to draw the layer. |
- Note
- This method consider that the given layer contains vetorial data.
virtual void te::map::AbstractLayerRenderer::drawLayerGrouping |
( |
AbstractLayer * |
layer, |
|
|
const std::string & |
geomPropertyName, |
|
|
Canvas * |
canvas, |
|
|
const te::gm::Envelope & |
bbox, |
|
|
int |
srid, |
|
|
bool * |
cancel |
|
) |
| |
|
protectedvirtual |
It draws the grouping of the abstract layer in the given canvas using the SRS informed.
The informed bounding box (bbox) is used to constraint the layer objects to be drawn. Here, we assume that the given bbox was pre-processed. i.e. the bbox was clipped and contains the same projection of abstract layer.
- Parameters
-
layer | The abstract layer that will be drawn. |
geomPropertyName | The geometry property name that will be drawn. |
canvas | The canvas were the layer objects will be drawn. |
bbox | The interest area to render the map. |
srid | The SRS to be used to draw the layer objects. |
- Note
- This method consider that the given layer contains vetorial data.
virtual void te::map::AbstractLayerRenderer::drawLayerGroupingMem |
( |
AbstractLayer * |
layer, |
|
|
const std::string & |
geomPropertyName, |
|
|
Canvas * |
canvas, |
|
|
const te::gm::Envelope & |
bbox, |
|
|
int |
srid, |
|
|
const double & |
scale, |
|
|
bool * |
cancel |
|
) |
| |
|
protectedvirtual |
It draws the grouping of the abstract layer in the given canvas using the SRS informed.
The informed bounding box (bbox) is used to constraint the layer objects to be drawn. Here, we assume that the given bbox was pre-processed. i.e. the bbox was clipped and contains the same projection of abstract layer.
- Parameters
-
layer | The abstract layer that will be drawn. |
geomPropertyName | The geometry property name that will be drawn. |
canvas | The canvas were the layer objects will be drawn. |
bbox | The interest area to render the map. |
srid | The SRS to be used to draw the layer objects. |
scale | The scale used to draw the layer. |
- Note
- This method consider that the given layer contains vetorial data.
-
This method retrieves the layer data using only spatial extent restriction and performs the grouping in memory.
virtual void te::map::AbstractLayerRenderer::reset |
( |
| ) |
|
|
protectedvirtual |
std::vector<te::gm::Coord2D> te::map::AbstractLayerRenderer::m_chartCoordinates |
|
protected |
std::size_t te::map::AbstractLayerRenderer::m_index |
|
protected |
The documentation for this class was generated from the following file: