te::map::AbstractMarkRenderer Class Referenceabstract

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

#include <AbstractMarkRenderer.h>

Inheritance diagram for te::map::AbstractMarkRenderer:
te::qt::widgets::GlyphMarkRenderer te::qt::widgets::WellKnownMarkRenderer

Public Member Functions

 AbstractMarkRenderer ()
 Constructor. More...
 
virtual void getSupportedMarks (std::vector< std::string > &marks) const =0
 Method that informs the set of supported marks by a specific concrete mark renderer. More...
 
virtual te::color::RGBAColor ** render (const MarkRendererParams &markRendererParams)=0
 It generates the image pattern from the given Symbology Enconding Mark element. More...
 
virtual ~AbstractMarkRenderer ()
 Virtual destructor. More...
 

Detailed Description

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

Definition at line 66 of file AbstractMarkRenderer.h.

Constructor & Destructor Documentation

◆ AbstractMarkRenderer()

te::map::AbstractMarkRenderer::AbstractMarkRenderer ( )
inline

Constructor.

Definition at line 71 of file AbstractMarkRenderer.h.

◆ ~AbstractMarkRenderer()

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

Virtual destructor.

Definition at line 74 of file AbstractMarkRenderer.h.

Member Function Documentation

◆ getSupportedMarks()

virtual void te::map::AbstractMarkRenderer::getSupportedMarks ( std::vector< std::string > &  marks) const
pure virtual

Method that informs the set of supported marks by a specific concrete mark renderer.

Parameters
marksA pre-created vector of string that will be filled with the supported marks names.

Implemented in te::qt::widgets::WellKnownMarkRenderer, and te::qt::widgets::GlyphMarkRenderer.

◆ render()

virtual te::color::RGBAColor** te::map::AbstractMarkRenderer::render ( const MarkRendererParams markRendererParams)
pure virtual

It generates the image pattern from the given Symbology Enconding Mark element.

Parameters
markRendererParamsThe parameters that will be used to render the mark
Returns
The RGBA image that represents the mark.
Note
The caller will take the ownership of the returned pointer.

Implemented in te::qt::widgets::WellKnownMarkRenderer, and te::qt::widgets::GlyphMarkRenderer.


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