Public Member Functions | Private Attributes

LdrFormatsLoader Class Reference

The LdrFormatsLoader class can load almost all "normal" image formats. More...

Inheritance diagram for LdrFormatsLoader:
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

QImage image
QString fileName

Detailed Description

The LdrFormatsLoader class can load almost all "normal" image formats.

This class is an implementation of ImageLoader interface.

Definition at line 26 of file LdrFormatsLoader.h.


Member Function Documentation

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

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

Implements ImageLoader.

Definition at line 110 of file LdrFormatsLoader.cpp.

Color * LdrFormatsLoader::getData (  ) [virtual]

Returns a pointer to image data in Yxy color space.

Implements ImageLoader.

Definition at line 69 of file LdrFormatsLoader.cpp.

QSize LdrFormatsLoader::getSize (  ) [virtual]

Returns the size of the image.

Implements ImageLoader.

Definition at line 61 of file LdrFormatsLoader.cpp.

QString LdrFormatsLoader::name (  ) const [virtual]

Returns the name of the loader: LDR Formats Loader.

Implements ImageLoader.

Definition at line 37 of file LdrFormatsLoader.cpp.

bool LdrFormatsLoader::openFile (  ) [virtual]

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

Implements ImageLoader.

Definition at line 53 of file LdrFormatsLoader.cpp.

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

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

Implements ImageLoader.

Definition at line 45 of file LdrFormatsLoader.cpp.


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