20 return (!_tracker.is_null());
74 if (_tracker_cs == CS_default) {
75 _tracker_cs = get_default_coordinate_system();
96 if (_graph_cs == CS_default) {
97 _graph_cs = get_default_coordinate_system();
get_time
Returns the time at which the position information (pos and orient) are effective.
CoordinateSystem get_graph_coordinate_system() const
Returns the coordinate system that the TrackerNode will convert its transform into for passing down t...
void set_tracker_coordinate_system(CoordinateSystem cs)
Specifies the coordinate system that the tracker associated with this node will operate in.
bool is_valid() const
Returns true if the TrackerNode is valid and connected to a server, false otherwise.
get_pos
Returns the current position of the tracker.
get_orient
Returns the current orientation of the tracker.
bool has_time() const
Returns true if the position information time is available.
CoordinateSystem get_tracker_coordinate_system() const
Returns the coordinate system that the tracker associated with this node will operate in.
const LMatrix4 & get_transform() const
Returns the current position and orientation of the tracker, as a combined matrix.
const LPoint3 & get_pos() const
Returns the current position of the tracker, if it is available.
double get_time() const
Returns the time of the tracker's last update.
bool has_time() const
True if this data comes with timestamps.
void set_graph_coordinate_system(CoordinateSystem cs)
Specifies the coordinate system that the TrackerNode will convert its transform into for passing down...
const LOrientation & get_orient() const
Returns the current orientation of the tracker, if it is available.