57 return (_flags & F_has_time) != 0;
86 return (_flags & F_has_pos) != 0;
99 static LPoint3 zero(0.0, 0.0, 0.0);
112 _flags |= F_has_orient;
120 return (_flags & F_has_orient) != 0;
133 static LOrientation ident = LOrientation::ident_quat();
155 return (_flags & F_has_dt) != 0;
Stores the kinds of data that a tracker might output.
bool has_dt() const
Returns true if the computed elapsed time is available.
bool has_time() const
Returns true if the position information time is available.
bool has_pos() const
Returns true if the current position is available.
set_pos
Indicates the current position of the tracker sensor in space.
bool has_orient() const
Returns true if the current orientation is available.
set_orient
Indicates the current orientation of the tracker sensor in space.
get_pos
Returns the current position of the tracker.
get_time
Returns the time at which the position information (pos and orient) are effective.
set_dt
Indicates the amount of elapsed time over which which the information (pos and orient) were computed.
get_orient
Returns the current orientation of the tracker.
set_time
Indicates the time at which the position information (pos and orient) are effective.
get_dt
Returns the amount of elapsed time over which the information (pos and orient) were computed.
void clear()
Removes all data from the structure.