26 #ifndef __TERRALIB_MAPTOOLS_INTERNAL_EXTERNALGRAPHICRENDERERMANAGER_H
27 #define __TERRALIB_MAPTOOLS_INTERNAL_EXTERNALGRAPHICRENDERERMANAGER_H
30 #include "../color/RGBAColor.h"
31 #include "../common/Singleton.h"
32 #include "../common/ThreadingPolicies.h"
43 class ExternalGraphic;
64 ::boost::recursive_mutex,
65 ::boost::lock_guard< ::boost::recursive_mutex>,
66 ::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 ExternalGraphic elements to an image pattern.
This is a singleton for managing all external graphic renderers instances available in the system.
ExternalGraphicRendererManager()
It initializes the singleton instance of the external graphic renderer manager.
~ExternalGraphicRendererManager()
Singleton destructor.
void add(AbstractExternalGraphicRenderer *renderer)
It adds a new external graphic renderer to the manager.
te::color::RGBAColor ** render(const te::se::ExternalGraphic *eg, std::size_t height, double rotation, std::size_t &width)
It generates the image pattern from the given Symbology Enconding External Graphic element.
void clear()
It clears the graphic renderers of the manager.
std::vector< AbstractExternalGraphicRenderer * > m_renderers
The external graphic renderers in the manager.
The ExternalGraphic allows a reference to be made to an external graphic file with a Web URL or to in...
Proxy configuration file for TerraView (see terraview_config.h).