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

A tracker driven haptic device. More...

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

Classes

class  Device
 
struct  SetButton
 
struct  SetTrackerPose
 
struct  SFButtonsControlNode
 
struct  SFTrackerNode
 

Public Member Functions

 TrackerHapticsDevice (H3D::Inst< H3D::SFVec3f > _devicePosition=0, H3D::Inst< H3D::SFRotation > _deviceOrientation=0, H3D::Inst< TrackerPosition > _trackerPosition=0, H3D::Inst< TrackerOrientation > _trackerOrientation=0, H3D::Inst< PosCalibration > _positionCalibration=0, H3D::Inst< OrnCalibration > _orientationCalibration=0, H3D::Inst< H3D::SFVec3f > _proxyPosition=0, H3D::Inst< WeightedProxy > _weightedProxyPosition=0, H3D::Inst< H3D::SFFloat > _proxyWeighting=0, H3D::Inst< H3D::SFBool > _mainButton=0, H3D::Inst< H3D::SFBool > _secondaryButton=0, H3D::Inst< H3D::SFInt32 > _buttons=0, H3D::Inst< H3D::SFVec3f > _force=0, H3D::Inst< H3D::SFVec3f > _torque=0, H3D::Inst< H3D::SFInt32 > _inputDOF=0, H3D::Inst< H3D::SFInt32 > _outputDOF=0, H3D::Inst< H3D::SFInt32 > _hapticsRate=0, H3D::Inst< H3D::SFInt32 > _desiredHapticsRate=0, H3D::Inst< H3D::SFNode > _stylus=0, H3D::Inst< SFHapticsRendererNode > _hapticsRenderer=0, H3D::Inst< H3D::MFVec3f > _proxyPositions=0, H3D::Inst< H3D::SFBool > _followViewpoint=0, H3D::Inst< H3D::SFVec3f > _deviceVelocity=0, H3D::Inst< TrackerVelocity > _trackerVelocity=0, H3D::Inst< SFTrackerNode > _tracker=0, H3D::Inst< H3D::SFVec3f > _set_trackerPosition=0, H3D::Inst< H3D::SFRotation > _set_trackerOrientation=0, H3D::Inst< SFButtonsControlNode > _buttonsControl=0, H3D::Inst< SetButton > _set_buttons=0, H3D::Inst< SetTrackerPose > _setTrackerPose=0)
 

Public Attributes

std::auto_ptr< SFTrackerNodetracker
  (input/output) The SinglePointTrackerFilter that is used to control the position and orientation of this haptics device. More...
 
std::auto_ptr< H3D::SFVec3fset_trackerPosition
  (input only) The position that controls this haptics device. More...
 
std::auto_ptr< H3D::SFRotationset_trackerOrientation
  (input only) The orientation that controls this haptics device. More...
 
std::auto_ptr
< SFButtonsControlNode
buttonsControl
  (input/output) The VRPNButton node that is used to control the buttons of this device. More...
 
std::auto_ptr< SetButtonset_buttons
  (input only) The buttons value of the haptics device as an SFBool. More...
 

Static Public Attributes

static H3D::H3DNodeDatabase database
 

Protected Member Functions

void connect_tracker (SinglePointTrackerFilter *tracker)
 
void disconnect_tracker (SinglePointTrackerFilter *tracker)
 
void connect_buttonsControl (HVRTrackerButtonsNode *bR)
 
void disconnect_buttonsControl (HVRTrackerButtonsNode *bR)
 

Protected Attributes

Devicedevice
 
std::auto_ptr< SetTrackerPosesetTrackerPose
 

Detailed Description

A tracker driven haptic device.

The movements are interpolated in the haptics thread for stable and soft haptic simulation.

Member Data Documentation

std::auto_ptr<SFButtonsControlNode> HVR::TrackerHapticsDevice::buttonsControl

(input/output) The VRPNButton node that is used to control the buttons of this device.

std::auto_ptr<SetButton> HVR::TrackerHapticsDevice::set_buttons

(input only) The buttons value of the haptics device as an SFBool.

This is automatically set when the buttonsControl field is set.

std::auto_ptr<H3D::SFRotation> HVR::TrackerHapticsDevice::set_trackerOrientation

(input only) The orientation that controls this haptics device.

This is automatically set when the trackerNode field is set.

std::auto_ptr<H3D::SFVec3f> HVR::TrackerHapticsDevice::set_trackerPosition

(input only) The position that controls this haptics device.

This is automatically set when the trackerNode field is set.

std::auto_ptr<SFTrackerNode> HVR::TrackerHapticsDevice::tracker

(input/output) The SinglePointTrackerFilter that is used to control the position and orientation of this haptics device.