It renders the objects associated to a query layer.
More...
#include <QueryLayerRenderer.h>
|
void | buildChart (const Chart *chart, te::da::DataSet *dataset, te::gm::Geometry *geom) |
|
void | buildChart (const Chart *chart, const std::map< std::string, double > &chartValue, te::gm::Geometry *geom) |
|
void | drawDatSetGeometries (te::da::DataSet *dataset, const std::size_t &gpos, Canvas *canvas, int fromSRID, int toSRID, Chart *chart, te::common::TaskProgress *task=0) |
| It draws the data set geometries in the given canvas using the informed SRS. More...
|
|
void | drawLayerGeometries (AbstractLayer *layer, const std::string &geomPropertyName, te::se::FeatureTypeStyle *style, Canvas *canvas, const te::gm::Envelope &bbox, int srid) |
| It draws the abstract layer in the given canvas using the SRS informed. More...
|
|
void | drawLayerGrouping (AbstractLayer *layer, const std::string &geomPropertyName, Canvas *canvas, const te::gm::Envelope &bbox, int srid) |
| It draws the grouping of the abstract layer in the given canvas using the SRS informed. More...
|
|
void | drawLayerGroupingMem (AbstractLayer *layer, const std::string &geomPropertyName, Canvas *canvas, const te::gm::Envelope &bbox, int srid) |
| It draws the grouping of the abstract layer in the given canvas using the SRS informed. More...
|
|
void | drawLayerLinkedGroupingMem (AbstractLayer *layer, const std::string &geomPropertyName, Canvas *canvas, const te::gm::Envelope &bbox, int srid) |
|
void | reset () |
|
It renders the objects associated to a query layer.
- See also
- AbstractLayer, AbstractRenderer, DataSetLayerRenderer, Canvas, te::se::Style, QueryLayer
Definition at line 76 of file QueryLayerRenderer.h.
te::map::QueryLayerRenderer::QueryLayerRenderer |
( |
| ) |
|
te::map::QueryLayerRenderer::~QueryLayerRenderer |
( |
| ) |
|
void te::map::QueryLayerRenderer::buildChart |
( |
const Chart * |
chart, |
|
|
const std::map< std::string, double > & |
chartValue, |
|
|
te::gm::Geometry * |
geom |
|
) |
| |
|
private |
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. |
- Note
- This method consider that the given layer contains vetorial data.
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.
void te::map::QueryLayerRenderer::drawLayerGroupingMem |
( |
AbstractLayer * |
layer, |
|
|
const std::string & |
geomPropertyName, |
|
|
Canvas * |
canvas, |
|
|
const te::gm::Envelope & |
bbox, |
|
|
int |
srid |
|
) |
| |
|
private |
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.
-
This method retrieves the layer data using only spatial extent restriction and performs the grouping in memory.
void te::map::QueryLayerRenderer::drawLayerLinkedGroupingMem |
( |
AbstractLayer * |
layer, |
|
|
const std::string & |
geomPropertyName, |
|
|
Canvas * |
canvas, |
|
|
const te::gm::Envelope & |
bbox, |
|
|
int |
srid |
|
) |
| |
|
private |
void te::map::QueryLayerRenderer::reset |
( |
| ) |
|
|
private |
std::vector<te::gm::Coord2D> te::map::QueryLayerRenderer::m_chartCoordinates |
|
private |
std::size_t te::map::QueryLayerRenderer::m_index |
|
private |
std::vector<std::string> te::map::QueryLayerRenderer::m_oid |
|
private |
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/src/terralib/maptools/QueryLayerRenderer.h