43#include <kaydaradef.h>
48 #define FBSDK_DLL K_DLLIMPORT
53#ifdef FBSDKUseNamespace
54 namespace FBSDKNamespace {
80 kFBImageInterleaveTypeFullFrame,
81 kFBImageInterleaveTypeOdd,
82 kFBImageInterleaveTypeEven,
83 kFBImageInterleaveTypeAverage
88 kFBImageInterpolationTypeNone,
89 kFBImageInterpolationTypeDuplicate,
90 kFBImageInterpolationTypeLinear
114 FBImage(
const char* pFileName, HIObject pObject=NULL);
162 K_DEPRECATED_2024
bool WriteToTif(
const char* pFileName,
const char* pComments,
bool pCompressed);
171 bool WriteToDisk(
const char* pFileName,
const char* pComments,
int pQuality,
int pCompressionType);
189#ifdef FBSDKUseNamespace
MotionBuilder SDK base class.
FBPropertyImageInterpolationType InterpolationType
Read Only Property: Image interpolation type.
FBPropertyImageFormat Format
Read Write Property: Image data format.
FBImage(const char *pFileName, HIObject pObject=NULL)
Constructor.
FBPropertyInt Height
Read Write Property: Height of the image in pixels.
bool ConvertSize(int pWidth, int pHeight)
Convert the image size.
virtual void FBDelete() override
Virtual FBDelete function.
K_DEPRECATED_2024 bool WriteToTif(const char *pFileName, const char *pComments, bool pCompressed)
Write image data to a TIF file on disk.
K_DEPRECATED_2024 bool IsCompressedTif(const char *pFileName)
Query TIF file about its compressed status.
unsigned char * GetBufferAddress()
Access image data buffer, allow modifications.
void VerticalFlip()
Flip the image vertically.
FBPropertyImageType Type
Read Only Property: Image type, refering to either frame or field.
FBPropertyInt Width
Read Write Property: Width of the image in pixels.
bool WriteToDisk(const char *pFileName, const char *pComments, int pQuality, int pCompressionType)
Write image data to a file on disk.
FBPropertyInt Depth
Read Write Property: Color depth of the image.
bool ConvertFormat(FBImageFormat pNewFormat)
Convert the image data format to another format.
bool Init(FBImageFormat pFormat, int pWidth, int pHeight)
Init.
void Cleanup()
Cleanup image data, making it black.
FBPropertyImageInterleaveType InterleaveType
Read Only Property: Image interleave type. Only meaningful if image type is field.
#define __FBClassDeclare(Name, Parent)
For internal use only.
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
FBImageInterpolationType
Image interpolation types.
FBImageInterleaveType
Image field interleave types.
FBImageFormat
Image formats.
class K_DLLIMPORT FBPropertyBase< int, kFBPT_int > FBPropertyInt
Property: int
#define FB_DEFINE_COMPONENT(DllTag, Type)
Define a component and give it the ability to be a property.
#define FB_DEFINE_ENUM(DllTag, Type)
Define an enum and give it the ability to be a property.
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.