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 bool WriteToTif(
const char* pFileName,
const char* pComments,
bool pCompressed);
180 #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.
unsigned char * GetBufferAddress()
Access image data buffer, allow modifications.
virtual void FBDelete() override
Virtual FBDelete function.
bool WriteToTif(const char *pFileName, const char *pComments, bool pCompressed)
Write image data to a TIF file on disk.
void VerticalFlip()
Flip the image vertically.
FBPropertyImageType Type
Read Only Property: Image type, refering to either frame or field.
bool IsCompressedTif(const char *pFileName)
Query TIF file about its compressed status.
FBPropertyInt Width
Read Write Property: Width of the image in pixels.
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.
FB_DEFINE_COMPONENT(K_DLLIMPORT, AnimationNode)
Animation node class.
FBImageInterpolationType
Image interpolation types.
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
FBImageInterleaveType
Image field interleave types.
FBImageFormat
Image formats.
class K_DLLIMPORT FBPropertyBase< int, kFBPT_int > FBPropertyInt
Property: int
#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.