It renders the objects associated to a layer. More...
#include <AbstractRenderer.h>
Public Member Functions | |
Initializer Methods | |
Methods related to instantiation and destruction. | |
AbstractRenderer () | |
Default Constructor. More... | |
virtual | ~AbstractRenderer () |
Virtual Destructor. More... | |
Pure Virtual Methods | |
Methods that subclasses must implement. | |
virtual void | draw (AbstractLayer *layer, Canvas *canvas, const te::gm::Envelope &bbox, int srid, const double &scale, bool *cancel)=0 |
It draws the layer geographic objects in the given canvas using the SRS informed. More... | |
Private Member Functions | |
Copy Constructor and Assignment Operator | |
Copy constructor and assignment operator not allowed. | |
AbstractRenderer (const AbstractRenderer &rhs) | |
Copy constructor not allowed. More... | |
AbstractRenderer & | operator= (const AbstractRenderer &rhs) |
Assignment operator not allowed. More... | |
It renders the objects associated to a layer.
The renderer will be responsible for:
Definition at line 61 of file AbstractRenderer.h.
|
inline |
Default Constructor.
Definition at line 71 of file AbstractRenderer.h.
|
inlinevirtual |
Virtual Destructor.
Definition at line 74 of file AbstractRenderer.h.
|
private |
Copy constructor not allowed.
rhs | The renderer that would be copied. |
|
pure virtual |
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.
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. |
Implemented in te::graph::LayerRenderer, te::map::AbstractLayerRenderer, te::map::QueryLayerRenderer, te::map::DataSetLayerRenderer, te::map::RasterLayerRenderer, and te::ws::ogc::wms::WMSLayerRenderer.
|
private |
Assignment operator not allowed.
rhs | The renderer whose contents would be assigned to this renderer. |