14 #ifndef VRPNTRACKERDEVICE_H 15 #define VRPNTRACKERDEVICE_H 43 int sensor, DataType data_type,
60 static void init_type() {
61 ClientTrackerDevice::init_type();
63 ClientTrackerDevice::get_class_type());
66 return get_class_type();
68 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
DataType get_data_type() const
Returns the type of data this device represents from the VrpnTracker.
VrpnTracker * get_vrpn_tracker() const
Returns a pointer to the particular VrpnTracker this device gets its data from.
A specific ClientBase that connects to a VRPN server and records information on the connected VRPN de...
int get_sensor() const
Returns the particular sensor index that this device wants to hear about from the VrpnTracker.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is the actual interface to a particular VRPN tracker object, and all of its sensors.
The Panda interface to a VRPN tracker.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A device, attached to the ClientBase by a TrackerNode, that records the data from a single tracker de...
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.