#include<kfbxthumbnail.h>Definition at line58of filekfbxthumbnail.h.
Thumbnail properties | |
| enum | EDataFormat |
| Data format.More... | |
| enum | EImageSize |
| Image size.More... | |
| KFbxTypedProperty<fbxInteger1> | CustomHeight |
| Pixel height of the thumbnail image. | |
| KFbxTypedProperty<fbxInteger1> | CustomWidth |
| Pixel width of the thumbnail image. | |
| void | SetDataFormat(EDataFormatpDataFormat) |
| Set the data format. | |
| EDataFormat | GetDataFormat() const |
| Get the data format. | |
| void | SetSize(EImageSizepImageSize) |
| 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. | |
| enumEDataFormat |
| enumEImageSize |
| void SetDataFormat | ( | EDataFormat | pDataFormat | ) |
Set the data format.
| pDataFormat | Data format identifier. |
| EDataFormatGetDataFormat | ( | ) | const |
Get the data format.
| void SetSize | ( | EImageSize | pImageSize | ) |
Set the thumbnail dimensions.
| pImageSize | Image size identifier. |
| EImageSizeGetSize | ( | ) | const |
Get the thumbnail dimensions.
| unsigned long GetSizeInBytes | ( | ) | const |
Get the thumbnail dimensions in bytes.
| bool SetThumbnailImage | ( | const kUByte * | pImage | ) |
Fill the thumbnail image.
| pImage | Pointer to the image data. A copy of the image data will be made. |
You must set the data format and the dimensions before calling this function. If the image size is set to eCUSTOM_SIZE the CustomHeight and CustomWidth properties must be set before calling this function.
trueif the thumbnail properties were set before calling this funtion.falseotherwise.| kUByte* GetThumbnailImage | ( | ) | const |
Get the thumbnail image.
NULLif the thumbnail is empty.| KFbxTypedProperty<fbxInteger1>CustomHeight |
Pixel height of the thumbnail image.
Definition at line70of filekfbxthumbnail.h.
| KFbxTypedProperty<fbxInteger1>CustomWidth |
Pixel width of the thumbnail image.
Definition at line73of filekfbxthumbnail.h.