RobWorkProject  23.9.11-
Public Member Functions | Static Public Member Functions | List of all members
RGBLoader Class Reference

Loads images in Silicon Graphics RGB format. More...

#include <RGBLoader.hpp>

Inherits ImageLoader.

Public Member Functions

rw::sensor::Image::Ptr loadImage (const std::string &filename)
 
std::vector< std::string > getImageFormats ()
 get the list of supported image formats (as extensions) example (PNG,PGM,GIF) More...
 
- Public Member Functions inherited from ImageLoader
virtual ~ImageLoader ()
 destructor
 
virtual bool isImageSupported (const std::string &format)
 

Static Public Member Functions

static rw::sensor::Image::Ptr load (const std::string &filename)
 

Additional Inherited Members

- Public Types inherited from ImageLoader
typedef rw::core::Ptr< ImageLoaderPtr
 smart pointer type
 

Detailed Description

Loads images in Silicon Graphics RGB format.

Member Function Documentation

◆ getImageFormats()

std::vector<std::string> getImageFormats ( )
virtual

get the list of supported image formats (as extensions) example (PNG,PGM,GIF)

Returns

Implements ImageLoader.

◆ load()

static rw::sensor::Image::Ptr load ( const std::string &  filename)
static
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

◆ loadImage()

rw::sensor::Image::Ptr loadImage ( const std::string &  filename)
virtual

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

Implements ImageLoader.


The documentation for this class was generated from the following file: