Open Reality Reference Guide
|
|
Go to the documentation of this file.
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
#define FB_DEFINE_ENUM(DllTag, Type)
Define an enum and give it the ability to be a property.
FBImage(const char *pFileName, HIObject pObject=NULL)
Constructor.
bool ConvertFormat(FBImageFormat pNewFormat)
Convert the image data format to another format.
class K_DLLIMPORT FBPropertyBase< int, kFBPT_int > FBPropertyInt
Property: int
FBPropertyInt Height
Read Write Property: Height of the image in pixels.
bool Init(FBImageFormat pFormat, int pWidth, int pHeight)
Init.
bool WriteToTif(const char *pFileName, const char *pComments, bool pCompressed)
Write image data to a TIF file on disk.
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
bool ConvertSize(int pWidth, int pHeight)
Convert the image size.
FBImageInterleaveType
Image field interleave types.
#define __FBClassDeclare(Name, Parent)
For internal use only.
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
FBPropertyImageType Type
Read Only Property: Image type, refering to either frame or field.
FBPropertyImageInterpolationType InterpolationType
Read Only Property: Image interpolation type.
FBPropertyInt Width
Read Write Property: Width of the image in pixels.
FBPropertyImageFormat Format
Read Write Property: Image data format.
FBImageFormat
Image formats.
FBPropertyInt Depth
Read Write Property: Color depth of the image.
virtual void FBDelete() override
Virtual FBDelete function.
FB_DEFINE_COMPONENT(K_DLLIMPORT, AnimationNode)
Animation node class.
unsigned char * GetBufferAddress()
Access image data buffer, allow modifications.
bool IsCompressedTif(const char *pFileName)
Query TIF file about its compressed status.
MotionBuilder SDK base class.
void VerticalFlip()
Flip the image vertically.
FBPropertyImageInterleaveType InterleaveType
Read Only Property: Image interleave type. Only meaningful if image type is field.
FBImageInterpolationType
Image interpolation types.
void Cleanup()
Cleanup image data, making it black.