Open Reality Reference Guide
|
|
1 #ifndef __FBMOTIONFILEOPTIONS_H__
2 #define __FBMOTIONFILEOPTIONS_H__
39 #include <kaydaradef.h>
44 #define FBSDK_DLL K_DLLIMPORT
49 #ifdef FBSDKUseNamespace
50 namespace FBSDKNamespace {
56 enum FBModelSelection {
60 kFBSelectedModelAndChildren,
61 kFBPrefixGroupContainingModel,
202 #ifdef FBSDKUseNamespace
FBPropertyModelSelection ModelSelection
Common settings when merging, unused with the CreateInsteadOfMerge property is set to true.
bool GetTakeSelect(int pTakeIndex) const
Return true if the take will be loaded.
FBPropertyBool CreateOpticalSegments
Read Write Property: If set to true, optical segments will be created. Used for trc,...
void SetTakeName(int pTakeIndex, const char *pName)
Set the take name.
int GetTakeSamples(int pTakeIndex)
Return the number of samples.
#define FB_DEFINE_ENUM(DllTag, Type)
Define an enum and give it the ability to be a property.
FBPropertyBool CreateInsteadOfMerge
Read Write Property: If set to true, the motion will imported/models will be created in the scene,...
void SetTakeSamplingRate(int pTakeIndex, FBTimeMode pTimeMode, double pCustomSamplingRate=30.0)
Set the sampling rate for a particular take.
FBMotionFileOptions(FBStringList *pStringList, HIObject pObject=NULL)
Constructor.
int GetTakeCount() const
Return the take count in the file to be loaded.
FBPropertyBool CreateUnusedOpticalSegments
Read Write Property: If set to true, unused optical segments will be created. Used for trc,...
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
FBTime GetTakeStop(int pTakeIndex)
Return the Take Stop time.
FBPropertyTakeSpanOnLoad TakeStartEnd
Read Write Property: Indicates how the start/end value of the take will be modified.
FBPropertyBool SetOccludedToLastValidPosition
Read Write Property: If set to true, occluded segments will be set to their last valid position....
void SetTakeStart(int pTakeIndex, FBTime pStartTime)
Set the Take Start time.
#define __FBClassDeclare(Name, Parent)
For internal use only.
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
void SetTakeStop(int pTakeIndex, FBTime pStopTime)
Set the Take Stop time.
void SetTakeSamples(int pTakeIndex, int pSamplesCount)
Set the number of samples for a particular take.
Customize motion file loading.
FBPropertyBool SetLimits
Read Write Property: If set to true, use motion limits. Used for asf/amc files.
FBPropertyBool KeepActorPrefix
Read Write Property: If set to true, the Actor prefix will be kept when naming each optical marker....
class K_DLLIMPORT FBPropertyBase< bool, kFBPT_bool > FBPropertyBool
Property: bool
FBPropertyBool ImportScaling
Read Write Property: If set to true, scaling values will be imported.
double GetTakeSamplingRate(int pTakeIndex)
Return the actual sampling rate as a double, useful when you have a custom sampling rate.
FBPropertyBool BaseRotationOnPreRotation
Read Write Property: If set to true, the base rotation will be imported as Pre Rotation....
FBPropertyBool IgnoreModelType
Read Write Property: If set to true, model type will not be considered when finding a matching model ...
const char * GetTakeName(int pTakeIndex) const
Get the take name.
FBPropertyBool CreateReferenceNode
Settings based on file type.
FBTimeMode
Different time modes available.
FBTimeMode GetTakeSamplingRateMode(int pTakeIndex)
Return the sampling rate mode.
FBPropertyBool CreateUnmatchedModels
Read Write Property: If set to true, nodes will be created to match the hierarchical structure of the...
void SetTakeSelect(int pTakeIndex, bool pSelect)
Indicate if the take will be loaded.
FBPropertyBool KeepDummyNode
Read Write Property: If set to true, dummy bones from the file are not removed. Used for asf/amc file...
MotionBuilder SDK base class.
FBPropertyBool ImportDOF
Read Write Property: If set to true, the DOF value will be imported from the file.
FBTime GetTakeStart(int pTakeIndex)
Return the Take Start time.
FBPropertyUpAxis UpAxisUsedInFile
Read Write Property: Indicated the up axis used in the motion file. Only effective when loading c3d f...
FBPropertyBool BaseTranslationOnRotationOffset
Read Write Property: If set to true, the base translation will be imported as Rotation Pivot offset....