18 #include "pandabase.h" 20 #include "clientBase.h" 21 #include "trackerData.h" 22 #include "clientTrackerDevice.h" 25 #include "linmath_events.h" 26 #include "pointerTo.h" 42 INLINE
bool is_valid()
const;
44 INLINE
const LPoint3 &get_pos()
const;
46 INLINE
const LMatrix4 &get_transform()
const;
47 INLINE
double get_time()
const;
48 INLINE
bool has_time()
const;
50 INLINE
void set_tracker_coordinate_system(CoordinateSystem cs);
51 INLINE CoordinateSystem get_tracker_coordinate_system()
const;
53 INLINE
void set_graph_coordinate_system(CoordinateSystem cs);
54 INLINE CoordinateSystem get_graph_coordinate_system()
const;
64 int _transform_output;
66 CPT(TransformState) _transform;
72 CoordinateSystem _tracker_cs, _graph_cs;
78 static void init_type() {
79 DataNode::init_type();
80 register_type(_type_handle,
"TrackerNode",
81 DataNode::get_class_type());
84 return get_class_type();
86 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
92 #include "trackerNode.I" The fundamental type of node for the data graph.
This is the primary interface to a Tracker object associated with a ClientBase.
This is a unit quaternion representing an orientation.
This is a three-component point in space (as opposed to a three-component vector, which represents a ...
This is a 4-by-4 transform matrix.
A device, attached to the ClientBase by a TrackerNode, that records the data from a single tracker de...
Stores the kinds of data that a tracker might output.
An abstract base class for a family of client device interfaces–including trackers, buttons, dials, and other analog inputs.
TypeHandle is the identifier used to differentiate C++ class types.
Encapsulates the data generated from (or sent into) any particular DataNode.
This object supervises the traversal of the data graph and the moving of data from one DataNode to it...