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, const double &scale)
 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 ( )
te::wms::WMSLayerRenderer::~WMSLayerRenderer ( )

Member Function Documentation

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

Implements te::map::AbstractRenderer.

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

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