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::OffsetTrackerFilter Class Reference

The offset tracker filter uses the position and orientation data of a child tracker and offsets the position by a certain vector in the local space of the tracked point, i e using the tracked point's orientation as specified by the trackerOrientation field. More...

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

Classes

struct  FilteredPosition
 

Public Member Functions

 OffsetTrackerFilter (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< FilteredPosition > _trackerPosition=0, H3D::Inst< H3D::MFRotation > _trackerOrientation=0, H3D::Inst< SFTrackerNode > _tracker=0, H3D::Inst< H3D::SFVec3f > _offset=0)
 
- Public Member Functions inherited from HVR::HVRTrackerFilterNode
 HVRTrackerFilterNode (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, H3D::Inst< SFTrackerNode > _tracker=0)
 
- Public Member Functions inherited from HVR::HVRTrackerNode
 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::SFVec3foffset
  (input/output) The offset to apply to the trackerPosition. More...
 
- Public Attributes inherited from HVR::HVRTrackerFilterNode
std::auto_ptr< SFTrackerNodetracker
  (input/output) The HVRTrackerNode tracker to filter data from. More...
 
- Public Attributes inherited from HVR::HVRTrackerNode
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
 
- Static Public Attributes inherited from HVR::HVRTrackerFilterNode
static H3D::H3DNodeDatabase database
 
- Static Public Attributes inherited from HVR::HVRTrackerNode
static H3D::H3DNodeDatabase database
 

Protected Member Functions

virtual void connect_tracker (HVRTrackerNode *)
 
virtual void disconnect_tracker (HVRTrackerNode *)
 
- Protected Member Functions inherited from HVR::HVRTrackerNode
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

The offset tracker filter uses the position and orientation data of a child tracker and offsets the position by a certain vector in the local space of the tracked point, i e using the tracked point's orientation as specified by the trackerOrientation field.

Member Data Documentation

std::auto_ptr< H3D::SFVec3f > HVR::OffsetTrackerFilter::offset

(input/output) The offset to apply to the trackerPosition.

This vector will be rotated by trackerOrientation before being added to the position.