#include <FCDImage.h>
Inheritance diagram for FCDImage:
Public Member Functions | |
FCDImage (FCDocument *document) | |
Constructor: do not use directly. | |
virtual | ~FCDImage () |
Destructor: do not use directly. | |
virtual Type | GetType () const |
Retrieves the entity type for this class. | |
const fstring & | GetFilename () const |
Retrieves the filename of the image file. | |
void | SetFilename (const fstring &_filename) |
Sets the filename of the image file. | |
const uint32 & | GetWidth () const |
Retrieves the width of the image. | |
void | SetWidth (uint32 _width) |
Sets the width of the image. | |
const uint32 & | GetHeight () const |
Retrieves the height of the image. | |
void | SetHeight (uint32 _height) |
Sets the height of the image. | |
const uint32 & | GetDepth () const |
Retrieves the depth of the 3D image. | |
void | SetDepth (uint32 _depth) |
Sets the depth of the 3D image. | |
virtual FUStatus | LoadFromXML (xmlNode *imageNode) |
[INTERNAL] Reads in the <image> element from a given COLLADA XML tree node. | |
virtual xmlNode * | WriteToXML (xmlNode *parentNode) const |
[INTERNAL] Writes out the <image> element to the given COLLADA XML tree node. |
A COLLADA image encapsulates an image file and are contained within the image library. FCollada doesn't support inlined image bits.
An image is solely defined by its filename. For some image types and optionally, the width, height and depth of the image may be required and valid.
|
Constructor: do not use directly. Instead, use the FCDLibrary::AddEntity function.
|
|
Destructor: do not use directly. Instead, use the FCDLibrary::ReleaseEntity function. |
|
Retrieves the depth of the 3D image. This parameter is optional for texture image files.
|
|
Retrieves the filename of the image file. This is the image file that you should load when attempting to use the image bits. FCollada will deal with the filename internally and provide an absolute filename.
|
|
Retrieves the height of the image. This parameter is useful for off-screen render targets and is optional for texture image files.
|
|
Retrieves the entity type for this class. This function is part of the FCDEntity class interface.
Reimplemented from FCDEntity. |
|
Retrieves the width of the image. This parameter is useful for off-screen render targets and is optional for texture image files.
|
|
[INTERNAL] Reads in the <image> element from a given COLLADA XML tree node.
Reimplemented from FCDEntity. |
|
Sets the depth of the 3D image. This parameter is optional for texture image files.
|
|
Sets the filename of the image file. This is the image file that you should load when attempting to use the image bits. FCollada will deal with the filename internally and export a relative filename.
|
|
Sets the height of the image. This parameter is useful for off-screen render targets and is optional for texture image files.
|
|
Sets the width of the image. This parameter is useful for off-screen render targets and is optional for texture image files.
|
|
[INTERNAL] Writes out the <image> element to the given COLLADA XML tree node.
Reimplemented from FCDEntity. |