H3D::FreeImageLoader Class Reference
[H3D specific Node classes.]

FreeImageLoader uses the FreeImage library to load the images. More...

#include <H3D/FreeImageLoader.h>

Inheritance diagram for H3D::FreeImageLoader:

Inheritance graph

List of all members.

Public Member Functions

 FreeImageLoader ()
 Constructor.
virtual ImageloadImage (const string &url)
 Load the image using the FreeImage library.

Static Public Member Functions

static bool supportsFileType (const string &url)
 TODO: Implement /virtual Image *loadImage( const istream &is ) = 0;.

Static Public Attributes

static FileReaderRegistration reader_registration
 Register this node to the H3DSoundFileNodes available.


Detailed Description

FreeImageLoader uses the FreeImage library to load the images.

Most image file types are supported including PNG, JPEG, GIF, BMP, TIFF and PSD


Member Function Documentation

virtual Image* H3D::FreeImageLoader::loadImage ( const string &  url  )  [inline, virtual]

Load the image using the FreeImage library.

A new FreeImageImage is returned. NULL if not successfully loaded.

Parameters:
url URL to the file to load.

Implements H3D::H3DImageLoaderNode.

References loadFreeImage().

bool FreeImageLoader::supportsFileType ( const string &  url  )  [static]

TODO: Implement /virtual Image *loadImage( const istream &is ) = 0;.

Returns true if the node supports the filetype of the file specified by url.


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

Generated on Fri Nov 7 10:30:08 2008 for H3D API by  doxygen 1.5.7