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 | Protected Attributes | List of all members
HVR::BoundTrackerFilter Class Reference

The bound tracker filter removes calibrated position and orientation data when they are located outside of a bound specified through the boundCenter and boundSize fields. More...

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

Classes

struct  FilteredIndex
 
struct  FilteredOrientation
 
struct  FilteredPosition
 

Public Member Functions

 BoundTrackerFilter (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< FilteredOrientation > _trackerOrientation=0, H3D::Inst< SFTrackerNode > _tracker=0, H3D::Inst< FilteredIndex > _index=0, H3D::Inst< H3D::SFVec3f > _boundCenter=0, H3D::Inst< H3D::SFVec3f > _boundSize=0, H3D::Inst< H3D::SFBool > _inverted=0)
 
void update ()
 
- 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::SFVec3fboundCenter
  (input/output) The center of the region to filter data from. More...
 
std::auto_ptr< H3D::SFVec3fboundSize
  (input/output) The size of the region to filter data from. More...
 
std::auto_ptr< H3D::SFBoolinverted
  (input/output) If true, the data inside of the specified region are removed, instead of those inside. 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...
 

Protected Attributes

std::auto_ptr< FilteredIndexindex
 

Detailed Description

The bound tracker filter removes calibrated position and orientation data when they are located outside of a bound specified through the boundCenter and boundSize fields.

Member Data Documentation

std::auto_ptr< H3D::SFVec3f > HVR::BoundTrackerFilter::boundCenter

(input/output) The center of the region to filter data from.

std::auto_ptr< H3D::SFVec3f > HVR::BoundTrackerFilter::boundSize

(input/output) The size of the region to filter data from.

std::auto_ptr< H3D::SFBool > HVR::BoundTrackerFilter::inverted

(input/output) If true, the data inside of the specified region are removed, instead of those inside.