Public Member Functions | Private Attributes

OpenExrLoader Class Reference

The OpenExrLoader class can load OpenEXR images. More...

Inheritance diagram for OpenExrLoader:
ImageLoader

List of all members.

Public Member Functions

virtual void setFileName (const QString &fileName)
virtual bool openFile ()
virtual QSize getSize ()
virtual ColorgetData ()
virtual HdrImage::ColorSpace getColorSpace ()
virtual QString name () const

Private Attributes

Imf::RgbaInputFile * file
QString fileName
int width
int height
Imath::Box2i dw

Detailed Description

The OpenExrLoader class can load OpenEXR images.

This class is an implementation of ImageLoader interface.

Definition at line 27 of file OpenExrLoader.h.


Member Function Documentation

HdrImage::ColorSpace OpenExrLoader::getColorSpace (  ) [virtual]

Returns the color space of the data returned by getData(): HdrImage::Yxy.

Implements ImageLoader.

Definition at line 135 of file OpenExrLoader.cpp.

Color * OpenExrLoader::getData (  ) [virtual]

Returns a pointer to image data in Yxy color space.

Implements ImageLoader.

Definition at line 98 of file OpenExrLoader.cpp.

QSize OpenExrLoader::getSize (  ) [virtual]

Returns the size of the image.

Implements ImageLoader.

Definition at line 80 of file OpenExrLoader.cpp.

QString OpenExrLoader::name (  ) const [virtual]

Returns the name of the loader: OpenEXR Loader.

Implements ImageLoader.

Definition at line 47 of file OpenExrLoader.cpp.

bool OpenExrLoader::openFile (  ) [virtual]

Opens the image file and returns true if it was successfully opened, otherwise returns false.

Implements ImageLoader.

Definition at line 63 of file OpenExrLoader.cpp.

void OpenExrLoader::setFileName ( const QString &  f ) [virtual]

Sets the name of the image to be opened to fileName.

Implements ImageLoader.

Definition at line 55 of file OpenExrLoader.cpp.


The documentation for this class was generated from the following files:
 All Classes Functions Variables