This is a singleton for managing all external graphic renderers instances available in the system.  
 More...
#include <ExternalGraphicRendererManager.h>
This is a singleton for managing all external graphic renderers instances available in the system. 
If you want to render a external graphic, use commands like:  te::color::RBGA** image = te::map::ExternalGraphicRendererManager::getInstance().render(eg, size); 
- See also
 - AbstractExternalGraphickRenderer 
 
Definition at line 63 of file ExternalGraphicRendererManager.h.
 
  
  
      
        
          | te::map::ExternalGraphicRendererManager::ExternalGraphicRendererManager  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
It initializes the singleton instance of the external graphic renderer manager. 
 
 
  
  
      
        
          | te::map::ExternalGraphicRendererManager::~ExternalGraphicRendererManager  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
It adds a new external graphic renderer to the manager. 
- Parameters
 - 
  
    | renderer | The new external graphic renderer that will be added on the manager. | 
  
   
- Note
 - The manager will take the owership of the given external graphic renderer. 
 
 
 
      
        
          | void te::map::ExternalGraphicRendererManager::clear  | 
          ( | 
           | ) | 
           | 
        
      
 
It clears the graphic renderers of the manager. 
 
 
It returns a reference to the singleton instance. 
- Returns
 - A reference to the singleton instance. 
 
 
 
It generates the image pattern from the given Symbology Enconding External Graphic element. 
- Parameters
 - 
  
    | eg | The Symbology Enconding External Graphic element that will be used as base to build the image pattern.  | 
    | height | The height of image pattern that will be generated.  | 
    | width | An output parameter that will be filled with the width of generated image pattern. | 
  
   
- Returns
 - The RGBA image that represents the external graphic.
 
- Note
 - This method will consult all registered external graphic renderers and the first that can process the given element will be used.
 
- 
The caller will take the ownership of the returned pointer.
 
- Exceptions
 - 
  
    | Exception | It will throws an exception if the image pattern can not be generated.  | 
  
   
 
 
The documentation for this class was generated from the following file: