Workcell loaders and other loaders.  
More...
Workcell loaders and other loaders. 
◆ ImageFactory
◆ getImageFormats()
  
  
      
        
          | virtual std::vector<std::string> getImageFormats  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
get the list of supported image formats (as extensions) example (PNG,PGM,GIF) 
- Returns
 
Implemented in RGBLoader, PPMLoader, and PGMLoader.
 
 
◆ getImageLoader()
get an image loader for a specific file format 
- Parameters
 - 
  
    | format | [in] image format eg. png, jpeg, ...  | 
  
   
- Returns
 
 
 
◆ getSupportedFormats()
  
  
      
        
          | static std::vector<std::string> getSupportedFormats  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
get a list of supported formats 
- Returns
 
 
 
◆ hasImageLoader()
  
  
      
        
          | static bool hasImageLoader  | 
          ( | 
          const std::string &  | 
          format | ) | 
           | 
         
       
   | 
  
static   | 
  
 
test if a imageloader for a specific fileformat exists. 
- Parameters
 - 
  
    | format | [in] image format eg. png, jpeg ...  | 
  
   
- Returns
 
 
 
◆ isImageSupported()
  
  
      
        
          | virtual bool isImageSupported  | 
          ( | 
          const std::string &  | 
          format | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
◆ load()
Loads/imports an image from a file. 
An exception is thrown if the file can't be loaded.
- Parameters
 - 
  
    | filename | [in] name of image file.  | 
  
   
 
 
◆ loadImage()
- Parameters
 - 
  
    | filename | [in] name of the file that is to be loaded.  | 
  
   
- Returns
 - if loaded successfully a pointer to the image is returned else NULL 
 
Implemented in RGBLoader, PPMLoader, and PGMLoader.