Candy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Classes | Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | List of all members
HVR::HVRTrackerNode Class Reference

Base type for trackers providing both raw and calibrated tracker data. More...

Inheritance diagram for HVR::HVRTrackerNode:
Inheritance graph
[legend]

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::MFVec3frawPosition
  (output only) The position data as defined by the tracker in its own coordinate system. More...
 
std::auto_ptr< H3D::MFRotationrawOrientation
  (output only) The orientation data as defined by the tracker in its own coordinate system. More...
 
std::auto_ptr< CalibratedMatrixtrackerMatrix
  (output only) The calibrated tracker data in MFMatrix4f matrix form, encoding both position and orientation. More...
 
std::auto_ptr< H3D::MFVec3ftrackerPosition
  (output only) The calibrated tracker position data. More...
 
std::auto_ptr< H3D::MFRotationtrackerOrientation
  (output only) The calibrated tracker orientation data. More...
 

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...
 

Detailed Description

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.

Member Function Documentation

void HVR::HVRTrackerNode::updateRawMatrix ( const std::vector< H3D::Matrix4f > &  m)
protected

Call this function to update the tracker data.

void HVR::HVRTrackerNode::updateRawPositionOrientation ( const std::vector< H3D::Vec3f > &  x,
const std::vector< H3D::Rotation > &  r 
)
protected

Call this function to update the tracker data.

Member Data Documentation

std::auto_ptr< H3D::MFRotation > HVR::HVRTrackerNode::rawOrientation

(output only) The orientation data as defined by the tracker in its own coordinate system.

std::auto_ptr< H3D::MFVec3f > HVR::HVRTrackerNode::rawPosition

(output only) The position data as defined by the tracker in its own coordinate system.

std::auto_ptr< CalibratedMatrix > HVR::HVRTrackerNode::trackerMatrix

(output only) The calibrated tracker data in MFMatrix4f matrix form, encoding both position and orientation.

std::auto_ptr< H3D::MFRotation > HVR::HVRTrackerNode::trackerOrientation

(output only) The calibrated tracker orientation data.

std::auto_ptr< H3D::MFVec3f > HVR::HVRTrackerNode::trackerPosition

(output only) The calibrated tracker position data.