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 );
715 virtual void AcceptAllSegments();
718 virtual void AcceptSegment();
721 virtual void SkipSegment();
724 virtual void AutomaticBuild();
727 virtual void CropSegmentsAnimation();
765 void SetData(
double pX,
double pY,
double pZ=0.0,
double pOcclusion=0.0);
791 virtual void RemoveAt(
int pIndex );
800 virtual int GetCount();
806 virtual int Add(
const char *pName=
NULL );
818 friend class FBDeviceOpticalLayout;
841 void DeviceOpticalBeginSetup();
843 void DeviceOpticalEndSetup();
866 virtual bool FBCreate();
867 virtual void FBDestroy();
881 #ifdef FBSDKUseNamespace
FBPropertyListOpticalSegment Segments
List: Segments.
class FBPropertyBaseEnum< enum FBRigidBodyMode > FBPropertyRigidBodyMode
FBPropertyDouble OpticalSamplingRate
Property: Resampling rate for optical device.
FBPropertyModel Model
Property: Rigid body model.
#define __FBClassDeclare(Name, Parent)
For internal use only.
kDeviceOperations
Types of operations for device.
FBPropertyBool AutoAntialiasing
Property: Is it auto-antialiasing?
FBPropertyTime SamplingStop
Read Write Property:Sampling stop time.
#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.
FBPropertyRigidBodyMode Mode
Property: Rigid body mode.
FBPropertyBool Done
Property: Done?
FBPropertyDouble MaxMatchDistance
Property: Max matching distance.
FBPropertyColor Color
Property: Marker color.
FBGenerationMode
Generation modes for optical model.
class FBPropertyBaseEnum< enum FBInsertSegmentMode > FBPropertyInsertSegmentMode
FBPropertyBool IsUsed
Property: Is marker used?
class FBPropertyBaseComponent< FBModel * > FBPropertyModel
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
FBPropertyBool UseMarkerTimeStamp
Property: Use the individual marker timestamps?
Template class to contain an array of items.
FBPropertyTime SamplingPeriod
Read Write Property:Sampling period.
class FBPropertyBaseEnum< enum FBGenerationMode > FBPropertyGenerationMode
FBPropertyBool ForceOpticalSamplingRate
Property: Force the use of the optical sampling rate?
class FBPropertyBase< int, kFBPT_int > FBPropertyInt
Property: int
Optical model marker class.
FBPropertyListModelMarkerOptical Markers
List: Markers.
class FBPropertyBase< FBColor, kFBPT_ColorRGB > FBPropertyColor
FBPropertyColor type definition.
FBInsertSegmentMode
Insert segment modes.
FBPropertyAnimationNode Data
Property: Data.
FBPropertyModel ModelOptical
Property: Optical model for manipulation.
PropertyList: Device optical marker
#define FB_DEFINE_ENUM(DllTag, Type)
Define an enum and give it the ability to be a property.
FBPropertyListRigidBodyMarkers Markers
Property: List of markers composing the rigid body.
FBPropertyInsertSegmentMode InsertSegmentMode
Property: Insert segment mode.
FBPropertyListRigidBody RigidBodies
List: Rigid bodies.
Base Device class. Cannot be instantiated from Python.
Advanced optical model information.
class FBPropertyBaseEnum< enum FBControllerMode > FBPropertyControllerMode
FBPropertyBool Used
Property: Is segment used?
FBPropertyDouble Occlusion
Property: Occulsion data for marker.
kFbxObjectStore
Description of the different store/retrieve passes of the FBX format.
FBPropertyBool AutoPlayToNextSegment
Property: Automatic play to next segment ?
FBPropertyListOpticalGap Gaps
Property: Gaps.
FBPropertySegmentMode SegmentMode
Property: Segment mode.
class FBPropertyBaseComponent< FBAnimationNode * > FBPropertyAnimationNode
FBPropertyTake UsedTake
Property: Take used by optical model.
class FBPropertyBaseEnum< enum FBGapMode > FBPropertyGapMode
Cubic/curve interpolation.
#define FB_DEFINE_ARRAY(DllTag, Type)
Define an array (template) for a component (discard the FB..).
PropertyList: Concrete class for PropertyList of component
FBPropertyTimeSpan TimeSpan
Property: Current timespan.
PropertyList: Device optical marker
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
FBPropertyModelOptical Optical
Property: Optical model.
FBGapMode
Gap interpolation modes.
FBPropertyControllerMode ControllerMode
Property: Controller mode.
FBPropertyAnimationNode Quality
Property: Rigid body quality.
FBPropertyModel Model
Property: Model marker access.
FBPropertyAnimationNode QualityData
Property: Quality of rigid body.
class FBArrayTemplate< FBModel * > FBModelList
typedef class FBSDK_DLL FBArrayTemplate FBModelList;
PropertyList: Device optical marker
#define FBSDKNamespace
FBSDKNamespace define.
class FBPropertyBase< FBVector3d, kFBPT_Vector3D > FBPropertyVector3d
FBPropertyVector3d type definition.
class FBPropertyBase< FBTimeSpan, kFBPT_TimeSpan > FBPropertyTimeSpan
Property: FBTimeSpan
FBPropertyTimeSpan TimeSpan
Property: Current segment timespan.
FBPropertyBool ShowRigidQuality
Property: Show the rigid quality?
class FBPropertyBaseComponent< FBModelOptical * > FBPropertyModelOptical
class FBPropertyBaseEnum< enum FBSegmentMode > FBPropertySegmentMode
FBPropertyBool SupportOcclusion
Property: Does the device support occulsion?
MotionBuilder SDK base class.
FBControllerMode
Controller modes for optical model.
FBPropertyModelMarkerOptical Marker
Property: Optical marker.
bool operator==(const FBPickInfos &pLhs, const FBPickInfos &pRhs)
FBPropertyTimeSpan MarkerTimeSpan
Property: Marker/Segment timespan.
FBPropertyBool Done
Property: Done?
PropertyList: Device optical marker
class FBPropertyBase< double, kFBPT_double > FBPropertyDouble
Property: double
#define FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
FBPropertyTime MarkerTimeStamp
Property: TimeStamp for marker.
kDeviceIOs
Types of I/O for device.
class FBPropertyBase< FBTime, kFBPT_Time > FBPropertyTime
Property: FBTime
FBPropertyBool PlayToNextSegment
Property: Play to next segment ?
FBPropertyTime SamplingStart
Read Write Property: Sampling start time.
class FBPropertyBaseComponent< FBTake * > FBPropertyTake
FBPropertyGenerationMode GenerationMode
Property: Optical genration mode.
Use rigid body information.
FBPropertyAnimationNode Data
Property: Gap curve data.
PropertyList: Device optical marker
FBPropertyBool SkipFrame
Property: Skip Record Frame
AnimationNodeNotify evaluation information.
FBSegmentMode
Segment modes.
FBPropertyDouble MarkerSize
Read Write Property: Size of markers.
Device Input and Output Notification information structure.
PropertyList: Device optical marker
FBPropertyDouble DampingTime
Property: Damping time for device.
class FBPropertyBaseComponent< FBModelMarkerOptical * > FBPropertyModelMarkerOptical
FBRigidBodyMode
Rigid body modes.
FBPropertyAnimationNode Data
Property: Segment curve data.
PropertyList: ModelOptical.
FBPropertyTimeSpan OriginalTimeSpan
Property: Original timespan for segment.
FBPropertyBool Active
Property: Optical engine for model active?
FBPropertyGapMode Interpolation
Property: Gap mode.
FBPropertyListDeviceOpticalMarker Markers
List: Markers.
FBPropertyVector3d Position
Property: Current position of marker.
FBPropertyListMarkerSegment Segments
Property: Marker segments.
PropertyList: Device optical marker
FBPropertyInt SmoothWidth
Property: Smoothing width.
class FBPropertyBase< bool, kFBPT_bool > FBPropertyBool
Property: bool