All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
te::wms::WMSLayerRenderer Class Reference

It renders the data associated to a WMS layer. More...

#include <WMSLayerRenderer.h>

Inheritance diagram for te::wms::WMSLayerRenderer:
te::map::AbstractRenderer

Public Member Functions

void draw (te::map::AbstractLayer *layer, te::map::Canvas *canvas, const te::gm::Envelope &bbox, int srid)
 It draws the layer geographic objects in the given canvas using the SRS informed. More...
 
 WMSLayerRenderer ()
 
 ~WMSLayerRenderer ()
 

Private Member Functions

void draw (WMSLayer *layer, te::map::Canvas *canvas, const te::gm::Envelope &bbox, int srid)
 
void drawRaster (const std::string &layerTitle, te::rst::Raster *raster, te::map::Canvas *canvas, const te::gm::Envelope &bbox, int bboxSRID, const te::gm::Envelope &visibleArea, int srid, te::se::CoverageStyle *style)
 

Detailed Description

It renders the data associated to a WMS layer.

Definition at line 57 of file WMSLayerRenderer.h.

Constructor & Destructor Documentation

te::wms::WMSLayerRenderer::WMSLayerRenderer ( )

Definition at line 61 of file WMSLayerRenderer.cpp.

te::wms::WMSLayerRenderer::~WMSLayerRenderer ( )

Definition at line 65 of file WMSLayerRenderer.cpp.

Member Function Documentation

void te::wms::WMSLayerRenderer::draw ( te::map::AbstractLayer layer,
te::map::Canvas canvas,
const te::gm::Envelope bbox,
int  srid 
)
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.

Parameters
layerThe layer that will be drawn.
canvasThe canvas were the layer objects will be drawn.
bboxThe interest area to render the map.
sridThe SRS to be used to draw the layer objects.

Implements te::map::AbstractRenderer.

Definition at line 69 of file WMSLayerRenderer.cpp.

References te::gm::Envelope::isValid(), and TE_TR.


The documentation for this class was generated from the following files: