This reference page is linked to from the following overview topics: List of Python Fbx classes.
Simple class to hold RGBA values of a thumbnail image.
Definition at line 27 of file fbxthumbnail.h.
#include <fbxthumbnail.h>
Public Member Functions | |
| virtual FbxObject & | Copy (const FbxObject &pObject) |
| Copy an object content into this object. | |
Protected Member Functions | |
| virtual void | Construct (const FbxThumbnail *pFrom) |
| virtual void | ConstructProperties (bool pForceSet) |
| Optional property constructor override, automatically called by default constructor. | |
| virtual void | Destruct (bool pRecursive) |
| Optional destructor override, automatically called by default destructor. | |
Protected Attributes | |
| FbxThumbnailMembers * | mMembers |
Thumbnail properties | |
| enum | EDataFormat { eRGB_24, eRGBA_32 } |
Data format. More... | |
| enum | EImageSize { eNotSet = 0, e64x64 = 64, e128x128 = 128, eCustomSize = -1 } |
Image size. More... | |
| FbxPropertyT< FbxInt > | CustomHeight |
| Pixel height of the thumbnail image. | |
| FbxPropertyT< FbxInt > | CustomWidth |
| Pixel width of the thumbnail image. | |
| void | SetDataFormat (EDataFormat pDataFormat) |
| Set the data format. | |
| EDataFormat | GetDataFormat () const |
| Get the data format. | |
| void | SetSize (EImageSize pImageSize) |
| Set the thumbnail dimensions. | |
| EImageSize | GetSize () const |
| Get the thumbnail dimensions. | |
| unsigned long | GetSizeInBytes () const |
| Get the thumbnail dimensions in bytes. | |
Thumbnail data access | |
| bool | SetThumbnailImage (const FbxUChar *pImage) |
| Fill the thumbnail image. | |
| FbxUChar * | GetThumbnailImage () const |
| Get the thumbnail image. | |
| enum EDataFormat |
| enum EImageSize |
Image size.
Definition at line 70 of file fbxthumbnail.h.
{
eNotSet = 0,
e64x64 = 64,
e128x128 = 128,
eCustomSize = -1
};
| void SetDataFormat | ( | EDataFormat | pDataFormat | ) |
| EDataFormat GetDataFormat | ( | ) | const |
| void SetSize | ( | EImageSize | pImageSize | ) |
Set the thumbnail dimensions.
| pImageSize | Image size identifier. |
| EImageSize GetSize | ( | ) | const |
| unsigned long GetSizeInBytes | ( | ) | const |
| bool SetThumbnailImage | ( | const FbxUChar * | pImage | ) |
Fill the thumbnail image.
| pImage | Pointer to the image data. A copy of the image data will be made. |
true if the thumbnail properties were set before calling this function. false otherwise. | FbxUChar* GetThumbnailImage | ( | ) | const |
Get the thumbnail image.
NULL if the thumbnail is empty. Copy an object content into this object.
| pObject | The source object to copy data from. |
Reimplemented from FbxObject.
| virtual void Construct | ( | const FbxThumbnail * | pFrom | ) | [protected, virtual] |
| virtual void ConstructProperties | ( | bool | pForceSet | ) | [protected, virtual] |
Optional property constructor override, automatically called by default constructor.
| pForceSet | If the property value must be set regardless of default value. |
Reimplemented from FbxObject.
| virtual void Destruct | ( | bool | pRecursive | ) | [protected, virtual] |
Optional destructor override, automatically called by default destructor.
| pRecursive | If true, children objects should be destroyed as well. |
Reimplemented from FbxObject.
Pixel height of the thumbnail image.
Definition at line 38 of file fbxthumbnail.h.
Pixel width of the thumbnail image.
Definition at line 41 of file fbxthumbnail.h.
FbxThumbnailMembers* mMembers [protected] |
Definition at line 136 of file fbxthumbnail.h.