23class EXPCL_PANDA_DEVICE TrackerData {
26 INLINE TrackerData(
const TrackerData ©);
27 void operator = (
const TrackerData ©);
35 INLINE
void set_pos(
const LPoint3 &pos);
37 INLINE
const LPoint3 &
get_pos()
const;
39 INLINE
void set_orient(
const LOrientation &orient);
43 INLINE
void set_dt(
double dt);
44 INLINE
bool has_dt()
const;
45 INLINE
double get_dt()
const;
57 F_has_orient = 0x0004,
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.