An abstract class for conversion of Symbology Enconding Mark elements to an image pattern. More...
#include <AbstractMarkRenderer.h>
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 te::se::Mark *mark, std::size_t size)=0 |
It generates the image pattern from the given Symbology Enconding Mark element. More... | |
virtual | ~AbstractMarkRenderer () |
Virtual destructor. More... | |
An abstract class for conversion of Symbology Enconding Mark elements to an image pattern.
Definition at line 48 of file AbstractMarkRenderer.h.
|
inline |
Constructor.
Definition at line 53 of file AbstractMarkRenderer.h.
|
inlinevirtual |
Virtual destructor.
Definition at line 56 of file AbstractMarkRenderer.h.
|
pure virtual |
Method that informs the set of supported marks by a specific concrete mark renderer.
marks | A 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.
|
pure virtual |
It generates the image pattern from the given Symbology Enconding Mark element.
mark | The Symbology Enconding Mark element that will be used to build the image pattern. |
size | The size of image pattern that will be generated. |
Implemented in te::qt::widgets::WellKnownMarkRenderer, and te::qt::widgets::GlyphMarkRenderer.