Candy
|
Base type for trackers providing both raw and calibrated tracker data. More...
Classes | |
struct | CalibratedMatrix |
Public Member Functions | |
HVRTrackerNode (H3D::Inst< H3D::SFNode > _metadata=0, H3D::Inst< H3D::MFVec3f > _rawPosition=0, H3D::Inst< H3D::MFRotation > _rawOrientation=0, H3D::Inst< CalibratedMatrix > _trackerMatrix=0, H3D::Inst< H3D::MFVec3f > _trackerPosition=0, H3D::Inst< H3D::MFRotation > _trackerOrientation=0) | |
virtual std::string | defaultXMLContainerField () |
Public Attributes | |
std::auto_ptr< H3D::MFVec3f > | rawPosition |
![]() | |
std::auto_ptr< H3D::MFRotation > | rawOrientation |
![]() | |
std::auto_ptr< CalibratedMatrix > | trackerMatrix |
![]() | |
std::auto_ptr< H3D::MFVec3f > | trackerPosition |
![]() | |
std::auto_ptr< H3D::MFRotation > | trackerOrientation |
![]() | |
Static Public Attributes | |
static H3D::H3DNodeDatabase | database |
Protected Member Functions | |
void | updateRawMatrix (const std::vector< H3D::Matrix4f > &m) |
Call this function to update the tracker data. More... | |
void | updateRawPositionOrientation (const std::vector< H3D::Vec3f > &x, const std::vector< H3D::Rotation > &r) |
Call this function to update the tracker data. More... | |
Base type for trackers providing both raw and calibrated tracker data.
The raw data may be updated through update functions, however the updating of tracker data is undefined in this base node type.
|
protected |
Call this function to update the tracker data.
|
protected |
Call this function to update the tracker data.
std::auto_ptr< H3D::MFRotation > HVR::HVRTrackerNode::rawOrientation |
The orientation data as defined by the tracker in its own coordinate system.
std::auto_ptr< H3D::MFVec3f > HVR::HVRTrackerNode::rawPosition |
The position data as defined by the tracker in its own coordinate system.
std::auto_ptr< CalibratedMatrix > HVR::HVRTrackerNode::trackerMatrix |
The calibrated tracker data in MFMatrix4f matrix form, encoding both position and orientation.
std::auto_ptr< H3D::MFRotation > HVR::HVRTrackerNode::trackerOrientation |
The calibrated tracker orientation data.
std::auto_ptr< H3D::MFVec3f > HVR::HVRTrackerNode::trackerPosition |
The calibrated tracker position data.