Candy
|
A tracker driven haptic device. More...
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< SFTrackerNode > | tracker |
![]() | |
std::auto_ptr< H3D::SFVec3f > | set_trackerPosition |
![]() | |
std::auto_ptr< H3D::SFRotation > | set_trackerOrientation |
![]() | |
std::auto_ptr < SFButtonsControlNode > | buttonsControl |
![]() | |
std::auto_ptr< SetButton > | set_buttons |
![]() | |
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 | |
Device * | device |
std::auto_ptr< SetTrackerPose > | setTrackerPose |
A tracker driven haptic device.
The movements are interpolated in the haptics thread for stable and soft haptic simulation.
std::auto_ptr<SFButtonsControlNode> HVR::TrackerHapticsDevice::buttonsControl |
The VRPNButton node that is used to control the buttons of this device.
std::auto_ptr<SetButton> HVR::TrackerHapticsDevice::set_buttons |
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 |
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 |
The position that controls this haptics device.
This is automatically set when the trackerNode field is set.
std::auto_ptr<SFTrackerNode> HVR::TrackerHapticsDevice::tracker |
The SinglePointTrackerFilter that is used to control the position and orientation of this haptics device.