te::map::AbstractExternalGraphicRenderer Class Referenceabstract

An abstract class for conversion of Symbology Enconding ExternalGraphic elements to an image pattern. More...

#include <AbstractExternalGraphicRenderer.h>

Inheritance diagram for te::map::AbstractExternalGraphicRenderer:
te::qt::widgets::ExternalGraphicRenderer

Public Member Functions

 AbstractExternalGraphicRenderer ()
 Constructor. More...
 
virtual te::color::RGBAColor ** render (const te::se::ExternalGraphic *eg, std::size_t height, std::size_t &width)=0
 It generates the image pattern from the given Symbology Enconding External Graphic element. More...
 
virtual ~AbstractExternalGraphicRenderer ()
 Virtual destructor. More...
 

Detailed Description

An abstract class for conversion of Symbology Enconding ExternalGraphic elements to an image pattern.

Definition at line 48 of file AbstractExternalGraphicRenderer.h.

Constructor & Destructor Documentation

te::map::AbstractExternalGraphicRenderer::AbstractExternalGraphicRenderer ( )
inline

Constructor.

Definition at line 53 of file AbstractExternalGraphicRenderer.h.

virtual te::map::AbstractExternalGraphicRenderer::~AbstractExternalGraphicRenderer ( )
inlinevirtual

Virtual destructor.

Definition at line 56 of file AbstractExternalGraphicRenderer.h.

Member Function Documentation

virtual te::color::RGBAColor** te::map::AbstractExternalGraphicRenderer::render ( const te::se::ExternalGraphic eg,
std::size_t  height,
std::size_t &  width 
)
pure virtual

It generates the image pattern from the given Symbology Enconding External Graphic element.

Parameters
egThe Symbology Enconding External Graphic element that will be used to build the image pattern.
heightThe height of image pattern that will be generated.
widthAn output parameter that will be filled with the width of generated image pattern.
Returns
The RGBA image that represents the external graphic.
Note
If the given Symbology Enconding External Graphic element cannot be processed by the renderer the method should return a NULL pointer.
The caller will take the ownership of the returned pointer.

Implemented in te::qt::widgets::ExternalGraphicRenderer.


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