It renders the objects associated to a Layer. More...
#include <LayerRenderer.h>
Public Member Functions | |
Initializer Methods | |
Methods related to instantiation and destruction. | |
LayerRenderer () | |
~LayerRenderer () | |
Destructor. More... | |
Implementation of Pure Virtual Methods from AbstractLayer | |
Every subclass must implent this interface. | |
virtual void | draw (te::map::AbstractLayer *layer, te::map::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 informed SRS. More... | |
Protected Member Functions | |
int | checkEdgeGeometryProperty (te::graph::AbstractGraph *g) |
Verify if the graph layer has a geometry to define the edges elements. More... | |
int | checkVertexGeometryProperty (te::graph::AbstractGraph *g) |
Verify if the graph layer has a geometry to define the vertexs elements. More... | |
void | configDefaultLine (te::map::Canvas *canvas) |
Configs the canvas with default values for line styles. More... | |
void | configDefaultPoint (te::map::Canvas *canvas) |
Configs the canvas with default values for point styles. More... | |
void | configLoopPoint (te::map::Canvas *canvas) |
Configs the canvas with default values for point styles. More... | |
void | drawDataSourceGraph (te::graph::AbstractGraph *g, te::map::Canvas *canvas, const te::gm::Envelope &bbox) |
void | drawMemoryGraph (te::graph::AbstractGraph *g, te::map::Canvas *canvas, const te::gm::Envelope &bbox, int srid) |
Private Member Functions | |
Copy Constructor and Assignment Operator | |
Copy constructor and assignment operator not allowed. | |
LayerRenderer (const LayerRenderer &rhs) | |
Copy constructor not allowed. More... | |
LayerRenderer & | operator= (const LayerRenderer &rhs) |
Assignment operator not allowed. More... | |
It renders the objects associated to a Layer.
Definition at line 57 of file LayerRenderer.h.
te::graph::LayerRenderer::LayerRenderer | ( | ) |
Constructor
te::graph::LayerRenderer::~LayerRenderer | ( | ) |
Destructor.
|
private |
Copy constructor not allowed.
rhs | The right-hand-side copy that would be used to copy from. |
|
protected |
Verify if the graph layer has a geometry to define the edges elements.
|
protected |
Verify if the graph layer has a geometry to define the vertexs elements.
|
protected |
Configs the canvas with default values for line styles.
|
protected |
Configs the canvas with default values for point styles.
|
protected |
Configs the canvas with default values for point styles.
|
virtual |
It draws the layer geographic objects in the given canvas using the informed SRS.
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.
layer | The layer to be rendered. |
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. |
Implements te::map::AbstractRenderer.
|
protected |
|
protected |
|
private |
Assignment operator not allowed.
rhs | The right-hand-side copy that would be used to copy from. |