The ImageLoader class is an interface which must be implemented by image loader plugins. More...
#include <ImageLoader.h>
Public Member Functions | |
| virtual void | setFileName (const QString &fileName)=0 |
| virtual bool | openFile ()=0 |
| virtual QSize | getSize ()=0 |
| virtual Color * | getData ()=0 |
| virtual HdrImage::ColorSpace | getColorSpace ()=0 |
| virtual QString | name () const =0 |
The ImageLoader class is an interface which must be implemented by image loader plugins.
Definition at line 31 of file ImageLoader.h.
| virtual HdrImage::ColorSpace ImageLoader::getColorSpace | ( | ) | [pure virtual] |
Returns the color space of the data returned by getData().
Implemented in LdrFormatsLoader, and OpenExrLoader.
| virtual Color* ImageLoader::getData | ( | ) | [pure virtual] |
Returns a pointer to image data or NULL if data cannot be read.
Implemented in LdrFormatsLoader, and OpenExrLoader.
| virtual QSize ImageLoader::getSize | ( | ) | [pure virtual] |
Returns the size of the image or QSize(0,0) if size cannot be read.
Implemented in LdrFormatsLoader, and OpenExrLoader.
| virtual QString ImageLoader::name | ( | ) | const [pure virtual] |
Returns the name of the loader.
Implemented in LdrFormatsLoader, and OpenExrLoader.
| virtual bool ImageLoader::openFile | ( | ) | [pure virtual] |
Opens the image file and returns true if it was successfully opened, otherwise returns false.
Implemented in LdrFormatsLoader, and OpenExrLoader.
| virtual void ImageLoader::setFileName | ( | const QString & | fileName ) | [pure virtual] |
Sets the name of the image to be opened to fileName.
Implemented in LdrFormatsLoader, and OpenExrLoader.
1.7.2