Candy
|
Tracker node that is using VRPN to read off information from any supported tracker. More...
Public Member Functions | |
VRPNTracker (H3D::Inst< H3D::SFNode > _metadata=0, H3D::Inst< MFPosition > _rawPosition=0, H3D::Inst< MFOrientation > _rawOrientation=0, H3D::Inst< CalibratedMatrix > _trackerMatrix=0, H3D::Inst< TrackerPosition > _trackerPosition=0, H3D::Inst< TrackerOrientation > _trackerOrientation=0, H3D::Inst< MFMappingNode > _mapping=0, H3D::Inst< Processor > _processor=0, H3D::Inst< H3D::SFString > _connectionString=0, H3D::Inst< H3D::MFInt32 > _sensorId=0) | |
void | initialize () |
![]() | |
HVRPullUpdatedTrackerNode (H3D::Inst< H3D::SFNode > _metadata=0, H3D::Inst< MFPosition > _rawPosition=0, H3D::Inst< MFOrientation > _rawOrientation=0, H3D::Inst< CalibratedMatrix > _trackerMatrix=0, H3D::Inst< TrackerPosition > _trackerPosition=0, H3D::Inst< TrackerOrientation > _trackerOrientation=0, H3D::Inst< MFMappingNode > _mapping=0, H3D::Inst< Processor > _processor=0) | |
![]() | |
HVRMappedTrackerNode (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< TrackerPosition > _trackerPosition=0, H3D::Inst< TrackerOrientation > _trackerOrientation=0, H3D::Inst< MFMappingNode > _mapping=0, H3D::Inst< MFTrackerPoint > _trackerPoint=0) | |
![]() | |
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::SFString > | connectionString |
![]() | |
std::auto_ptr< H3D::MFInt32 > | sensorId |
![]() | |
![]() | |
struct HVR_API | Point |
std::auto_ptr< MFMappingNode > | mapping |
![]() | |
![]() | |
std::auto_ptr< H3D::MFVec3f > | rawPosition |
![]() | |
std::auto_ptr< H3D::MFRotation > | rawOrientation |
![]() | |
std::auto_ptr< CalibratedMatrix > | trackerMatrix |
![]() | |
std::auto_ptr< H3D::MFVec3f > | trackerPosition |
![]() | |
std::auto_ptr< H3D::MFRotation > | trackerOrientation |
![]() | |
Static Public Attributes | |
static H3D::H3DNodeDatabase | database |
![]() | |
static H3D::H3DNodeDatabase | database |
![]() | |
static H3D::H3DNodeDatabase | database |
![]() | |
static H3D::H3DNodeDatabase | database |
Protected Member Functions | |
void | update () |
![]() | |
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... | |
Static Protected Member Functions | |
static void VRPN_CALLBACK | handler (void *userdata, const vrpn_TRACKERCB info) |
Protected Attributes | |
vrpn_Tracker_Remote * | tracker |
std::vector< H3D::Vec3f > | new_position |
std::vector< H3D::Rotation > | new_orientation |
![]() | |
std::auto_ptr< Processor > | processor |
Calls the update function when new position or orientation data are needed. More... | |
![]() | |
struct HVR_API | MFTrackerPoint |
std::auto_ptr< MFTrackerPoint > | trackerPoint |
Additional Inherited Members | |
![]() | |
typedef H3D::MField< Point > | MFPoint |
typedef H3D::TypedMFNode < HVRMappingNode > | MFMappingNode |
Tracker node that is using VRPN to read off information from any supported tracker.
std::auto_ptr< H3D::SFString > HVR::VRPNTracker::connectionString |
The address to the tracker at a VRPN server, for example "tracker@localhost".
std::auto_ptr< H3D::MFInt32 > HVR::VRPNTracker::sensorId |
A list of sensor id for the specified trackers to read.
If this list is empty (the default) all available position and orientation sensors will be read in the order they arrive from the server. If this list is not empty the sensors will be read in the specified order. If any specified sensor's data are not received, the old data will be reused.