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

This filter filters away all data except the first point provided by the tracker being filtered. More...

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

Classes

struct  FilteredOrientation
 
struct  FilteredPosition
 
struct  SingleOrientation
 
struct  SinglePosition
 

Public Member Functions

 SinglePointTrackerFilter (H3D::Inst< H3D::SFNode > _metadata=0, H3D::Inst< FilteredPosition > _rawPosition=0, H3D::Inst< FilteredOrientation > _rawOrientation=0, H3D::Inst< CalibratedMatrix > _trackerMatrix=0, H3D::Inst< FilteredPosition > _trackerPosition=0, H3D::Inst< FilteredOrientation > _trackerOrientation=0, H3D::Inst< SFTrackerNode > _tracker=0, H3D::Inst< H3D::SFInt32 > _index=0, H3D::Inst< SinglePosition > _singleRawPosition=0, H3D::Inst< SingleOrientation > _singleRawOrientation=0, H3D::Inst< SinglePosition > _singleTrackerPosition=0, H3D::Inst< SingleOrientation > _singleTrackerOrientation=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::SFInt32index
  (input/output) The index of the point to extract. More...
 
std::auto_ptr< H3D::SFVec3fsingleRawPosition
  (output only) This field provides the first raw position, the same as the rawPosition field, however in the form of a SField. More...
 
std::auto_ptr< H3D::SFRotationsingleRawOrientation
  (output only) This field provides the first raw orientation, the same as the rawOrientation field, however in the form of a SField. More...
 
std::auto_ptr< H3D::SFVec3fsingleTrackerPosition
  (output only) This field provides the first tracker position, the same as the trackerPosition field, however in the form of a SField. More...
 
std::auto_ptr< H3D::SFRotationsingleTrackerOrientation
  (output only) This field provides the first tracker orientation, the same as the trackerOrientation field, however in the form of a SField. 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

This filter filters away all data except the first point provided by the tracker being filtered.

Member Data Documentation

std::auto_ptr< H3D::SFInt32 > HVR::SinglePointTrackerFilter::index

(input/output) The index of the point to extract.

std::auto_ptr< H3D::SFRotation > HVR::SinglePointTrackerFilter::singleRawOrientation

(output only) This field provides the first raw orientation, the same as the rawOrientation field, however in the form of a SField.

std::auto_ptr< H3D::SFVec3f > HVR::SinglePointTrackerFilter::singleRawPosition

(output only) This field provides the first raw position, the same as the rawPosition field, however in the form of a SField.

std::auto_ptr< H3D::SFRotation > HVR::SinglePointTrackerFilter::singleTrackerOrientation

(output only) This field provides the first tracker orientation, the same as the trackerOrientation field, however in the form of a SField.

std::auto_ptr< H3D::SFVec3f > HVR::SinglePointTrackerFilter::singleTrackerPosition

(output only) This field provides the first tracker position, the same as the trackerPosition field, however in the form of a SField.