93 if (_tracker_cs == CS_default) {
94 _tracker_cs = get_default_coordinate_system();
119 if (_graph_cs == CS_default) {
120 _graph_cs = get_default_coordinate_system();
const LOrientation & get_orient() const
Returns the current orientation of the tracker, if it is available.
bool has_time() const
True if this data comes with timestamps.
void set_tracker_coordinate_system(CoordinateSystem cs)
Specifies the coordinate system that the tracker associated with this node will operate in...
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 ...
CoordinateSystem get_graph_coordinate_system() const
Returns the coordinate system that the TrackerNode will convert its transform into for passing down t...
double get_time() const
Returns the time of the tracker's last update.
const LPoint3 & get_pos() const
Returns the current position of the tracker.
CoordinateSystem get_tracker_coordinate_system() const
Returns the coordinate system that the tracker associated with this node will operate in...
const LPoint3 & get_pos() const
Returns the current position of the tracker, if it is available.
This is a 4-by-4 transform matrix.
bool is_valid() const
Returns true if the TrackerNode is valid and connected to a server, false otherwise.
A device, attached to the ClientBase by a TrackerNode, that records the data from a single tracker de...
double get_time() const
Returns the time at which the position information (pos and orient) are effective.
const LOrientation & get_orient() const
Returns the current orientation of the tracker.
void set_graph_coordinate_system(CoordinateSystem cs)
Specifies the coordinate system that the TrackerNode will convert its transform into for passing down...
const LMatrix4 & get_transform() const
Returns the current position and orientation of the tracker, as a combined matrix.
bool has_time() const
Returns true if the position information time is available.