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 53 of file kfbxthumbnail.h.
#include <kfbxthumbnail.h>
Public Member Functions |
|
| virtual KFbxObject & | Copy (const KFbxObject &pObject) |
| Copy an object content into this object.
|
|
Protected Member Functions |
|
| KFbxThumbnail (KFbxSdkManager &pManager, char const *pName) | |
| Constructor. |
|
| virtual void | Construct (const KFbxThumbnail *pFrom) |
| virtual bool | ConstructProperties (bool pForceSet) |
| virtual void | Destruct (bool pRecursive, bool pDependents) |
Protected Attributes |
|
| KFbxSdkManager * | mManager |
| KFbxThumbnailMembers * | mMembers |
Thumbnail properties |
|
| enum | EDataFormat { eRGB_24, eRGBA_32 } |
|
Data format. More... |
|
| enum | EImageSize { eNOT_SET = 0, e64x64 = 64, e128x128 = 128, eCUSTOM_SIZE = -1 } |
|
Image size. More... |
|
| KFbxTypedProperty< fbxInteger1 > | CustomHeight |
| Pixel height of the thumbnail image.
|
|
| KFbxTypedProperty< fbxInteger1 > | 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 kUByte *pImage) |
| Fill the thumbnail image. |
|
| kUByte * | GetThumbnailImage () const |
| Get the thumbnail image. |
|
| enum EDataFormat |
Data format.
Definition at line 74 of file kfbxthumbnail.h.
{
eRGB_24, // 3 components
eRGBA_32 // 4 components
} EDataFormat;
| enum EImageSize |
Image size.
Definition at line 97 of file kfbxthumbnail.h.
{
eNOT_SET = 0,
e64x64 = 64,
e128x128 = 128,
eCUSTOM_SIZE = -1
} EImageSize;
| KFbxThumbnail | ( | KFbxSdkManager & | pManager, |
| char const * | pName | ||
| ) | [protected] |
Constructor.
| void SetDataFormat | ( | EDataFormat | pDataFormat | ) |
Set the data format.
| pDataFormat | Data format identifier. |
| 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 kUByte * | 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.| kUByte* GetThumbnailImage | ( | ) | const |
Get the thumbnail image.
NULL if the
thumbnail is empty.| virtual KFbxObject& Copy | ( | const KFbxObject & | pObject | ) | [virtual] |
Copy an object content into this object.
| pObject | The source object to copy data from. |
Reimplemented from KFbxObject.
| virtual void Construct | ( | const KFbxThumbnail * | pFrom | ) | [protected, virtual] |
| virtual bool ConstructProperties | ( | bool | pForceSet | ) | [protected, virtual] |
Reimplemented from KFbxObject.
| virtual void Destruct | ( | bool | pRecursive, |
| bool | pDependents | ||
| ) | [protected, virtual] |
Reimplemented from KFbxObject.
Pixel height of the thumbnail image.
Definition at line 65 of file kfbxthumbnail.h.
Pixel width of the thumbnail image.
Definition at line 68 of file kfbxthumbnail.h.
KFbxSdkManager* mManager
[protected] |
Definition at line 174 of file kfbxthumbnail.h.
KFbxThumbnailMembers* mMembers
[protected] |
Definition at line 175 of file kfbxthumbnail.h.