Optical model marker class.
Public Member Functions |
|
__init__ (str pName=None, HFBModelOptical pOptical=None, object pObject=None) | |
Constructor. |
|
int | ImportBegin () |
Begin import of optical data. |
|
bool | ImportKey (float pX, float pY, float pZ=0.0, float pOcclusion=0.0) |
Import a key of optical data. |
|
bool | ImportEnd () |
End importation and clean up data. |
|
int | ExportBegin () |
Begin export of optical data. |
|
bool | ExportKey (float pX, float pY, float pZ=None, float pOcclusion=None) |
Export a key of optical data. |
|
bool | ExportEnd () |
End exportation from optical model. |
|
SetModelOptical (HFBModelOptical pOptical) | |
Set the current optical model. |
|
InsertSegmentedData (HFBAnimationNode pTData, HFBAnimationNode pOData) | |
Insert segmented data. |
|
FBRigidBody | GetRigidBody () |
Get the rigid body for the marker. |
|
Public Attributes |
|
FBPropertyModelOptical | Optical |
Property: Optical model. |
|
FBPropertyListMarkerSegment | Segments |
Property: Marker segments. |
|
FBPropertyListOpticalGap | Gaps |
Property: Gaps. |
|
FBPropertyBase | Color |
Property: Marker color. |
|
FBPropertyBase | Done |
Property: Done?. |
|
FBPropertyAnimationNode | Data |
Property: Data. |
Constructor.
If no optical model is given, be sure to add one before accessing the Segments and Gaps properties.
pName | Name of optical marker(default=NULL). |
pOptical | Optical model(default=NULL). |
pObject | Internal parent object(default=NULL). |
int ImportBegin | ( | ) |
Begin import of optical data.
Sample communication with optical device and return the number of samples that were taken during the sampling period for statistical purposes.
Import a key of optical data.
pX | X position. |
pY | Y position. |
pZ | Z position(default=0.0). |
pOcclusion | Occlusion value(default=0.0). |
bool ImportEnd | ( | ) |
End importation and clean up data.
Interpolates optical data to create a curve from the input key frams.
int ExportBegin | ( | ) |
Begin export of optical data.
Sample communication with optical device and return the number of samples that were taken during the sampling period for statistical purposes.
Export a key of optical data.
pX. | X position. |
pY. | Y position. |
pZ. | Z position(default=NULL). |
pOcclusion. | Occlusion value(default=NULL). |
bool ExportEnd | ( | ) |
SetModelOptical | ( | HFBModelOptical | pOptical | ) |
InsertSegmentedData | ( | HFBAnimationNode | pTData, |
HFBAnimationNode | pOData | ||
) |
Insert segmented data.
pTData | Translation data. |
pOData | Occlusion data. |
FBRigidBody GetRigidBody | ( | ) |
Get the rigid body for the marker.
FBPropertyModelOptical Optical |
Property: Optical model.
FBPropertyListMarkerSegment Segments |
Property: Marker segments.
FBPropertyListOpticalGap Gaps |
Property: Gaps.
FBPropertyBase Color |
FBPropertyBase Done |
Property: Done?.
FBPropertyAnimationNode Data |
Property: Data.