18 #include "pandabase.h" 20 #include "vrpn_interface.h" 43 VrpnTracker(
const string &tracker_name, vrpn_Connection *connection);
54 void output(ostream &out)
const;
55 void write(ostream &out,
int indent_level = 0)
const;
58 static void VRPN_CALLBACK
59 vrpn_position_callback(
void *userdata,
const vrpn_TRACKERCB info);
60 static void VRPN_CALLBACK
61 vrpn_velocity_callback(
void *userdata,
const vrpn_TRACKERVELCB info);
62 static void VRPN_CALLBACK
63 vrpn_acceleration_callback(
void *userdata,
const vrpn_TRACKERACCCB info);
67 vrpn_Tracker_Remote *_tracker;
73 INLINE ostream &operator << (ostream &out,
const VrpnTracker &tracker) {
78 #include "vrpnTracker.I" void unmark(VrpnTrackerDevice *device)
Removes the indicated VrpnTrackerDevice from the list of devices that are sharing this VrpnTracker...
This is the actual interface to a particular VRPN tracker object, and all of its sensors.
The Panda interface to a VRPN tracker.
void mark(VrpnTrackerDevice *device)
Adds the indicated VrpnTrackerDevice to the list of devices that are sharing this VrpnTracker...
void poll()
Polls the connected device.
const string & get_tracker_name() const
Returns the name of the tracker device that was used to create this VrpnTracker.
bool is_empty() const
Returns true if no VrpnTrackerDevices reference this VrpnTracker, or false otherwise.