57 return (_flags & F_has_time) != 0;
65 INLINE
double TrackerData::
86 return (_flags & F_has_pos) != 0;
94 INLINE
const LPoint3 &TrackerData::
99 static LPoint3 zero(0.0, 0.0, 0.0);
112 _flags |= F_has_orient;
120 return (_flags & F_has_orient) != 0;
128 INLINE
const LOrientation &TrackerData::
133 static LOrientation ident = LOrientation::ident_quat();
155 return (_flags & F_has_dt) != 0;
163 INLINE
double TrackerData::
void clear()
Removes all data from the structure.
bool has_pos() const
Returns true if the current position is available.
bool has_time() const
Returns true if the position information time is available.
bool has_dt() const
Returns true if the computed elapsed time is available.
set_time
Indicates the time at which the position information (pos and orient) are effective.
Stores the kinds of data that a tracker might output.
set_dt
Indicates the amount of elapsed time over which which the information (pos and orient) were computed.
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.