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