1 #ifndef __FBMANIPULATOR_H__ 2 #define __FBMANIPULATOR_H__ 43 #include <kaydaradef.h> 48 #define FBSDK_DLL K_DLLIMPORT 54 #ifdef FBSDKUseNamespace 69 #define FBRegisterManipulator( ClassName, Label, Description, IconFilename ) \ 70 HIObject RegisterManipulator##ClassName( HIObject ,const char* pName,void * ) \ 72 ClassName *Class = new ClassName( Label ); \ 73 Class->mAllocated = true; \ 74 if (Class->FBCreate()) { \ 75 return Class->GetHIObject(); \ 81 FBLibraryModule( ClassName ) \ 83 FBRegisterObject( ClassName,"Manipulators",Label,Description,RegisterManipulator##ClassName,true, IconFilename ); \ 90 #define FBManipulatorDeclare( ClassName, Parent ) \ 91 FBClassDeclare( ClassName,Parent); \ 93 ClassName(const char* pName):Parent(pName) { FBClassInit; } \ 99 #define FBManipulatorImplementation( ThisComponent ) \ 100 FBClassImplementation( ThisComponent ) 124 virtual bool FBCreate ();
135 void PickRectMotion();
158 FBModel* PickGetModel(
int pIndex);
169 int GetViewerWidth();
174 int GetViewerHeight();
202 void FBModelRenderBegin(
FBModel* pModel);
205 void FBModelRenderEnd();
216 virtual bool ViewInput(
int pMouseX,
int pMouseY,
FBInputType pAction,
int pButtonKey,
int pModifier);
221 virtual void ViewExpose();
252 virtual void RemoveAt(
int pIndex );
262 virtual int GetCount();
292 FBPropertyManipulatorTransformType
Type;
298 #ifdef FBSDKUseNamespace
#define __FBClassDeclare(Name, Parent)
For internal use only.
#define FB_DEFINE_LIST(DllTag, Type)
Define a component list.
FB_DEFINE_COMPONENT(K_DLLIMPORT, AnimationNode)
Animation node class.
class K_DLLIMPORT FBVector4< float > FBVertex
Vertex.
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
FBPropertyBool DefaultBehavior
Read Write Property: Using default manipulator behavior?
FBPropertyBool Active
Read Write Property: Is manipulator active?
#define FB_DEFINE_ENUM(DllTag, Type)
Define an enum and give it the ability to be a property.
Contains the user interface components for the SDK.
class K_DLLIMPORT FBPropertyBase< bool, kFBPT_bool > FBPropertyBool
Property: bool
PropertyList: Manipulator.
FBManipulatorPickType
Types of manipulator picking.
FBInputType
Types of input events.
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
#define FBSDKNamespace
FBSDKNamespace define.
Property class: const char * (String).
FBPropertyBool Visible
Read Write Property: Is manipulator visible?
FBPropertyCamera CurrentCamera
Read Only Property: Current camera.
FBPropertyString ViewerText
Read Write Property: Text displayed in view.
#define FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
FBPropertyBool AlwaysActive
Read Write Property: Is manipulator always active?
FBManipulatorTransformType
Manipulator transform stles.
MotionBuilder SDK base class.
FBPropertyBool ConsumeEvent
Read Write Property: Is manipulator consuming event? If true, this will prevent other manipulators fr...