26 #ifndef __TERRALIB_MAPTOOLS_INTERNAL_MARKRENDERERMANAGER_H
27 #define __TERRALIB_MAPTOOLS_INTERNAL_MARKRENDERERMANAGER_H
30 #include "../color/RGBAColor.h"
31 #include "../common/Singleton.h"
32 #include "../common/ThreadingPolicies.h"
65 ::boost::recursive_mutex,
66 ::boost::lock_guard< ::boost::recursive_mutex>,
67 ::boost::lock_guard< ::boost::recursive_mutex> >,
A helper class for 32-bit RGBA (Red-Green-Blue-Alpha channel) color.
This policy assures a class-level locking scheme for a derived class.
Template support for singleton pattern.
An abstract class for conversion of Symbology Enconding Mark elements to an image pattern.
This is a singleton for managing all mark renderers instances available in the system.
void clear()
It clears the marks renderers of the manager.
void add(const std::string &key, AbstractMarkRenderer *renderer)
It adds a new mark renderer to the manager.
MarkRendererManager()
It initializes the singleton instance of the mark renderer manager.
~MarkRendererManager()
Singleton destructor.
te::color::RGBAColor ** render(const MarkRendererParams &markRenderParams)
It generates the image pattern from the given Symbology Enconding Mark element.
std::map< std::string, AbstractMarkRenderer * > m_renderers
The mark renderers in the manager.
void getAllSupportedMarks(std::vector< std::string > &marks) const
It informs the set of all supported marks available in the system.
Proxy configuration file for TerraView (see terraview_config.h).