#include <kfbxthumbnail.h>
Inherits KFbxObject.
Inheritance diagram for KFbxThumbnail:
Definition at line 58 of file kfbxthumbnail.h.
Thumbnail properties | |
enum | EDataFormat |
Data format. More... | |
enum | EImageSize |
Data format. More... | |
void | SetDataFormat (EDataFormat pDataFormat) |
Set the data format. | |
EDataFormat | GetDataFormat () |
Get the data format. | |
void | SetSize (EImageSize pImageSize) |
Set the thumbnail dimensions. | |
EImageSize | GetSize () |
Get the thumbnail dimensions. | |
unsigned long | GetSizeInBytes () |
Get the thumbnail dimensions in bytes. | |
Thumbnail data access | |
bool | SetThumbnailImage (const kUByte *pImage) |
Fill the thumbnail image. | |
kUByte * | GetThumbnailImage () |
Get the thumbnail image. |
enum EDataFormat |
enum EImageSize |
void SetDataFormat | ( | EDataFormat | pDataFormat | ) |
Set the data format.
pDataFormat | Data format identifier. |
EDataFormat GetDataFormat | ( | ) |
Get the data format.
void SetSize | ( | EImageSize | pImageSize | ) |
Set the thumbnail dimensions.
pImageSize | Image size identifier. |
EImageSize GetSize | ( | ) |
Get the thumbnail dimensions.
unsigned long GetSizeInBytes | ( | ) |
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.
true
if the thumbnail properties were set before calling this funtion. false
otherwise. kUByte* GetThumbnailImage | ( | ) |
Get the thumbnail image.
NULL
if the thumbnail is empty.