30 #ifndef __FREEIMAGELOADER_H__
31 #define __FREEIMAGELOADER_H__
55 type_name =
"FreeImageLoader";
78 static bool supportsFileType(
const string &url );
82 static bool supportsStreamType( istream &is );
Header file for H3DImageLoaderNode, the abstract base class for all image loaders nodes for different...
FreeImageLoader uses the FreeImage library to load the images.
Definition: FreeImageLoader.h:51
virtual Image * loadImage(const string &url)
Load the image using the FreeImage library.
Definition: FreeImageLoader.h:61
static FileReaderRegistration reader_registration
Register this node to the H3DSoundFileNodes available.
Definition: FreeImageLoader.h:87
FreeImageLoader()
Constructor.
Definition: FreeImageLoader.h:54
virtual Image * loadImage(istream &is)
Load an image from an istream.
Definition: FreeImageLoader.h:72
H3DImageLoaderNode is a virtual base class for classes that read an image file format such as PNG or ...
Definition: H3DImageLoaderNode.h:48
H3DUTIL_API Image * loadFreeImage(const std::string &url)
H3D API namespace.
Definition: Anchor.h:38
Class used to register a class to the registered file readers.
Definition: H3DImageLoaderNode.h:62
The H3DNodeDatabase contains a mapping between a name of a Node and the constructor for the Node with...
Definition: H3DNodeDatabase.h:194