1 #ifndef __FBOPTICAL_H__
2 #define __FBOPTICAL_H__
48 #define FBSDK_DLL K_DLLIMPORT
56 #ifdef FBSDKUseNamespace
100 virtual void Reset();
105 virtual void Cut(
FBTime& pTime );
110 virtual bool IsValid();
126 void FBOpticalSegmentInitProperties();
143 virtual void Refresh();
150 virtual void RemoveAt (
int pIndex );
161 virtual int GetCount();
167 virtual int GetIndexAt(
FBTime& pTime );
182 virtual void Refresh();
189 virtual void RemoveAt(
int pIndex );
200 virtual int GetCount();
257 virtual void InsertControlKey(
FBTime& pTime );
262 virtual bool IsValid();
271 void FBOpticalGapInitProperties();
288 virtual void RemoveAt(
int pIndex );
289 virtual void Refresh();
302 virtual int GetCount();
327 virtual int ImportBegin();
336 virtual bool ImportKey(
double pX,
double pY,
double pZ=0.0,
double pOcclusion=0.0 );
342 virtual bool ImportEnd();
349 virtual int ExportBegin();
358 virtual bool ExportKey(
double *pX,
double *pY,
double *pZ=
NULL,
double *pOcclusion=
NULL );
363 virtual bool ExportEnd();
388 void FBModelMarkerOpticalInitProperties();
407 virtual void Refresh ();
412 virtual void RemoveAt(
int pIndex );
423 virtual int GetCount ();
428 virtual int Add(
const char* pName =
NULL );
451 virtual void Refresh();
456 virtual void RemoveAt(
int pIndex );
467 virtual int GetCount ();
473 virtual int Add(
const char* pName =
NULL );
528 virtual void ComputeAnimation();
533 virtual bool IsValid();
544 void FBRigidBodyInitProperties();
561 virtual void Refresh ();
568 virtual void RemoveAt(
int pIndex );
579 virtual int GetCount();
607 virtual bool ImportSetup();
612 virtual bool ExportSetup();
617 virtual void ClearSegments(
bool pUnUsedOnly =
true );
708 virtual void AcceptAllSegments();
711 virtual void AcceptSegment();
714 virtual void SkipSegment();
717 virtual void AutomaticBuild();
720 virtual void CropSegmentsAnimation();
758 void SetData(
double pX,
double pY,
double pZ=0.0,
double pOcclusion=0.0);
784 virtual void RemoveAt(
int pIndex );
793 virtual int GetCount();
799 virtual int Add(
const char *pName=
NULL );
834 void DeviceOpticalBeginSetup();
836 void DeviceOpticalEndSetup();
859 virtual bool FBCreate();
860 virtual void FBDestroy();
874 #ifdef FBSDKUseNamespace
FBPropertyListOpticalSegment Segments
List: Segments.
class FBArrayTemplate< FBModel * > FBModelList
typedef class FBSDK_DLL FBArrayTemplate FBModelList;
#define __FBClassDeclare(Name, Parent)
For internal use only.
FBPropertyBool AutoAntialiasing
Property: Is it auto-antialiasing?
FBPropertyAnimationNode Data
Property: Gap curve data.
FBPropertyAnimationNode QualityData
Property: Quality of rigid body.
Cubic/curve interpolation.
FBPropertyTime SamplingStop
Read Write Property:Sampling stop time.
class FBPropertyBase< FBTimeSpan, kFBPT_TimeSpan > FBPropertyTimeSpan
Property: FBTimeSpan
#define FB_DEFINE_COMPONENT(DllTag, Type)
Define a component and give it the ability to be a property.
#define FB_DEFINE_LIST(DllTag, Type)
Define a component list.
FBPropertyListMarkerSegment Segments
Property: Marker segments.
class FBPropertyBaseComponent< FBAnimationNode * > FBPropertyAnimationNode
class FBPropertyBaseEnum< enum FBGapMode > FBPropertyGapMode
FBPropertyDouble OpticalSamplingRate
Property: Resampling rate for optical device.
FBPropertyBool UseMarkerTimeStamp
Property: Use the individual marker timestamps?
Layout for optical device.
FBPropertyBool ForceOpticalSamplingRate
Property: Force the use of the optical sampling rate?
class FBPropertyBase< double, kFBPT_double > FBPropertyDouble
Property: double
PropertyList: Device optical marker
FBGapMode
Gap interpolation modes.
class FBPropertyBase< FBTime, kFBPT_Time > FBPropertyTime
Property: FBTime
FBPropertyBool Done
Property: Done?
FBPropertyColor Color
Property: Marker color.
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
FBPropertyTime SamplingPeriod
Read Write Property:Sampling period.
PropertyList: Device optical marker
Device Input and Output Notification information structure.
FBPropertyTake UsedTake
Property: Take used by optical model.
FBPropertyAnimationNode Data
Property: Data.
class FBPropertyBase< FBVector3d, kFBPT_Vector3D > FBPropertyVector3d
FBPropertyVector3d type definition.
FBPropertyBool IsUsed
Property: Is marker used?
PropertyList: Device optical marker
AnimationNodeNotify evaluation information.
FBPropertyListModelMarkerOptical Markers
List: Markers.
Use rigid body information.
class FBPropertyBaseComponent< FBModelOptical * > FBPropertyModelOptical
class FBPropertyBaseEnum< enum FBSegmentMode > FBPropertySegmentMode
FBControllerMode
Controller modes for optical model.
class FBPropertyBaseComponent< FBModelMarkerOptical * > FBPropertyModelMarkerOptical
FBRigidBodyMode
Rigid body modes.
#define FB_DEFINE_ENUM(DllTag, Type)
Define an enum and give it the ability to be a property.
FBPropertyModel ModelOptical
Property: Optical model for manipulation.
MotionBuilder SDK base class.
FBPropertyListRigidBody RigidBodies
List: Rigid bodies.
FBPropertyBool Used
Property: Is segment used?
class FBPropertyBaseComponent< FBTake * > FBPropertyTake
FBPropertyControllerMode ControllerMode
Property: Controller mode.
FBPropertyListOpticalGap Gaps
Property: Gaps.
class FBPropertyBase< bool, kFBPT_bool > FBPropertyBool
Property: bool
FBPropertyBool AutoPlayToNextSegment
Property: Automatic play to next segment ?
FBPropertyModel Model
Property: Model marker access.
FBSegmentMode
Segment modes.
PropertyList: Device optical marker
Base Device class. Cannot be instantiated from Python.
FBPropertyBool PlayToNextSegment
Property: Play to next segment ?
FBPropertyInt SmoothWidth
Property: Smoothing width.
PropertyList: Concrete class for PropertyList of component
#define FB_DEFINE_ARRAY(DllTag, Type)
Define an array (template) for a component (discard the FB..).
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
FBPropertyRigidBodyMode Mode
Property: Rigid body mode.
FBPropertyDouble Occlusion
Property: Occulsion data for marker.
Template class to contain an array of items.
FBPropertyModel Model
Property: Rigid body model.
FBPropertyBool Active
Property: Optical engine for model active?
class FBPropertyBaseComponent< FBModel * > FBPropertyModel
#define FBSDKNamespace
FBSDKNamespace define.
class FBPropertyBaseEnum< enum FBRigidBodyMode > FBPropertyRigidBodyMode
kDeviceIOs
Types of I/O for device.
kDeviceOperations
Types of operations for device.
FBPropertyModelOptical Optical
Property: Optical model.
FBInsertSegmentMode
Insert segment modes.
PropertyList: ModelOptical.
FBPropertyTime MarkerTimeStamp
Property: TimeStamp for marker.
FBPropertyGapMode Interpolation
Property: Gap mode.
FBGenerationMode
Generation modes for optical model.
#define FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
PropertyList: Device optical marker
FBPropertySegmentMode SegmentMode
Property: Segment mode.
FBPropertyTimeSpan TimeSpan
Property: Current timespan.
FBPropertyAnimationNode Quality
Property: Rigid body quality.
FBPropertyModelMarkerOptical Marker
Property: Optical marker.
bool operator==(const FBPickInfos &pLhs, const FBPickInfos &pRhs)
class FBPropertyBaseEnum< enum FBInsertSegmentMode > FBPropertyInsertSegmentMode
FBPropertyBool SupportOcclusion
Property: Does the device support occulsion?
FBPropertyTimeSpan MarkerTimeSpan
Property: Marker/Segment timespan.
FBPropertyTime SamplingStart
Read Write Property: Sampling start time.
FBPropertyInsertSegmentMode InsertSegmentMode
Property: Insert segment mode.
FBPropertyListRigidBodyMarkers Markers
Property: List of markers composing the rigid body.
class FBPropertyBaseEnum< enum FBGenerationMode > FBPropertyGenerationMode
FBPropertyBool ShowRigidQuality
Property: Show the rigid quality?
FBPropertyVector3d Position
Property: Current position of marker.
class FBPropertyBaseEnum< enum FBControllerMode > FBPropertyControllerMode
PropertyList: Device optical marker
class FBPropertyBase< int, kFBPT_int > FBPropertyInt
Property: int
kFbxObjectStore
Description of the different store/retrieve passes of the FBX format.
class FBPropertyBase< FBColor, kFBPT_ColorRGB > FBPropertyColor
FBPropertyColor type definition.
Advanced optical model information.
FBPropertyDouble MarkerSize
Read Write Property: Size of markers.
FBPropertyDouble DampingTime
Property: Damping time for device.
FBPropertyAnimationNode Data
Property: Segment curve data.
FBPropertyTimeSpan TimeSpan
Property: Current segment timespan.
FBPropertyBool SkipFrame
Property: Skip Record Frame
Optical model marker class.
FBPropertyListDeviceOpticalMarker Markers
List: Markers.
PropertyList: Device optical marker
FBPropertyGenerationMode GenerationMode
Property: Optical genration mode.
FBPropertyDouble MaxMatchDistance
Property: Max matching distance.
FBPropertyTimeSpan OriginalTimeSpan
Property: Original timespan for segment.
FBPropertyBool Done
Property: Done?