26 #ifndef __TERRALIB_MAPTOOLS_INTERNAL_ABSTRACTMARKRENDERER_H
27 #define __TERRALIB_MAPTOOLS_INTERNAL_ABSTRACTMARKRENDERER_H
30 #include "../color/RGBAColor.h"
A helper class for 32-bit RGBA (Red-Green-Blue-Alpha channel) color.
An abstract class for conversion of Symbology Enconding Mark elements to an image pattern.
virtual void getSupportedMarks(std::vector< std::string > &marks) const =0
Method that informs the set of supported marks by a specific concrete mark renderer.
virtual te::color::RGBAColor ** render(const MarkRendererParams &markRendererParams)=0
It generates the image pattern from the given Symbology Enconding Mark element.
virtual ~AbstractMarkRenderer()
Virtual destructor.
AbstractMarkRenderer()
Constructor.
A Mark specifies a geometric shape and applies coloring to it.
MarkRendererParams(const te::se::Mark *mark, std::size_t size, double angle=0., bool isFill=false)
bool m_isFill
TRUE if this image will be used for filling an area. Some marks may need this information to create t...
std::size_t m_size
The size of image pattern that will be generated.
double m_angle
The angle of image pattern that will be generated.
const te::se::Mark * m_mark
The Symbology Enconding Mark element that will be used as base to build the image pattern.
Proxy configuration file for TerraView (see terraview_config.h).