Optical model marker class.
Definition at line 310 of file fboptical.h.
#include <fboptical.h>
Public Member Functions |
|
FBModelMarkerOptical (char *pName=NULL, HFBModelOptical pOptical=NULL, HIObject pObject=NULL) | |
Constructor. |
|
virtual int | ImportBegin () |
Begin import of optical data. |
|
virtual bool | ImportKey (double pX, double pY, double pZ=0.0, double pOcclusion=0.0) |
Import a key of optical data. |
|
virtual bool | ImportEnd () |
End importation and clean up data. |
|
virtual int | ExportBegin () |
Begin export of optical data. |
|
virtual bool | ExportKey (double *pX, double *pY, double *pZ=NULL, double *pOcclusion=NULL) |
Export a key of optical data. |
|
virtual bool | ExportEnd () |
End exportation from optical model. |
|
virtual void | SetModelOptical (HFBModelOptical pOptical) |
Set the current optical model. |
|
virtual void | InsertSegmentedData (HFBAnimationNode pTData, HFBAnimationNode pOData) |
Insert segmented data. |
|
virtual 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. |
|
FBPropertyColor | Color |
Property: Marker color. |
|
FBPropertyBool | Done |
Property: Done? |
|
FBPropertyAnimationNode | Data |
Property: Data. |
FBModelMarkerOptical | ( | char * | pName = NULL , |
HFBModelOptical | pOptical = NULL , |
||
HIObject | pObject =
NULL |
||
) |
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). |
virtual int ImportBegin | ( | ) | [virtual] |
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.
virtual bool ImportKey | ( | double | pX, |
double | pY, | ||
double | pZ = 0.0 , |
||
double | pOcclusion =
0.0 |
||
) | [virtual] |
Import a key of optical data.
pX | X position. |
pY | Y position. |
pZ | Z position(default=0.0). |
pOcclusion | Occlusion value(default=0.0). |
virtual bool ImportEnd | ( | ) | [virtual] |
End importation and clean up data.
Interpolates optical data to create a curve from the input key frams.
virtual int ExportBegin | ( | ) | [virtual] |
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.
virtual bool ExportKey | ( | double * | pX, |
double * | pY, | ||
double * | pZ = NULL , |
||
double * | pOcclusion =
NULL |
||
) | [virtual] |
Export a key of optical data.
pX. | X position. |
pY. | Y position. |
pZ. | Z position(default=NULL). |
pOcclusion. | Occlusion value(default=NULL). |
virtual bool ExportEnd | ( | ) | [virtual] |
virtual void SetModelOptical | ( | HFBModelOptical | pOptical | ) | [virtual] |
virtual void InsertSegmentedData | ( | HFBAnimationNode | pTData, |
HFBAnimationNode | pOData | ||
) | [virtual] |
Insert segmented data.
pTData | Translation data. |
pOData | Occlusion data. |
virtual FBRigidBody GetRigidBody | ( | ) | [virtual] |
Get the rigid body for the marker.
FBPropertyModelOptical Optical |
Property: Marker color.
Reimplemented from FBModelMarker.
Definition at line 384 of file fboptical.h.
FBPropertyAnimationNode Data |