#include <FCDImage.h>
Inheritance diagram for FCDImage:
Public Member Functions | |
DeclareFlag (Video, 0) | |
Flags this image as a video stream. | |
DeclareFlagCount (1) | |
FCDImage (FCDocument *document) | |
Constructor: do not use directly. | |
virtual | ~FCDImage () |
Destructor. | |
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 FCDEntity * | Clone (FCDEntity *clone=NULL, bool cloneChildren=false) const |
Copies the image entity into a clone. |
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.
|
|
Copies the image entity into a clone. The clone may reside in another document.
Reimplemented from FCDEntity. |
|
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.
|
|
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.
|