43#include <kaydaradef.h>
48 #define FBSDK_DLL K_DLLIMPORT
53#ifdef FBSDKUseNamespace
54 namespace FBSDKNamespace {
83#define FBRegisterFilter( ClassName, Label, Description, FilterType, FilterErrorTable, FilterErrorCount, IconFilename ) \
84 HIObject RegisterFilter##ClassName( HIObject pOwner,const char * ,void * ) \
86 ClassName *Class = new ClassName( ); \
87 if (Class->FBCreate()) { \
88 return Class->GetHIObject(); \
94 FBLibraryModule( ClassName ) \
96 int lFilterType = FilterType; \
97 if( (lFilterType) & kFBFilterNumber ) FBRegisterObject( ClassName,"Filter/DataType/Number",Label,Description,RegisterFilter##ClassName,true, IconFilename ); \
98 if( (lFilterType) & kFBFilterVector ) FBRegisterObject( ClassName,"Filter/DataType/Vector",Label,Description,RegisterFilter##ClassName,true, IconFilename ); \
105#define FBFilterDeclare( ClassName, Parent ) \
106 FBClassDeclare( ClassName,Parent); \
108 ClassName( HIObject pO = NULL ):Parent(pO) { FBClassInit; } \
114#define FBFilterImplementation( ThisComponent ) \
115 FBClassImplementation( ThisComponent )
344#ifdef FBSDKUseNamespace
MotionBuilder SDK base class.
Filters are used to modify motion capture data.
virtual bool Apply(FBAnimationNode *pNode, bool pRecursive)
Apply the filter to an animation node.
FBFilter(HIObject pObject=NULL)
Constructor.
FBPropertyTime Start
Read Write Property: Start time of the filtering region
FBPropertyTime Stop
Read Write Property: Stop time of the filtering region
virtual void Reset()
Reset properties.
virtual bool Apply(FBFCurve *pCurve)
Apply the filter to an FCurve.
FBFilterManager()
Constructor.
FBStringList FilterTypeNames
List of available filters.
~FBFilterManager()
Destructor.
FBFilter * CreateFilter(const char *pFilterTypeName)
Create a filter instance according to the filter type requested.
#define __FBClassDeclare(Name, Parent)
For internal use only.
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
FBFilterType
Filter types.
@ kFBFilterVector
Filter a vector (3 FCurves).
@ kFBFilterNumber
Filter single FCurves.
class K_DLLIMPORT FBPropertyBase< FBTime, kFBPT_Time > FBPropertyTime
Property: FBTime
#define FB_DEFINE_COMPONENT(DllTag, Type)
Define a component and give it the ability to be a property.
#define FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.