39 INLINE
bool is_valid()
const;
41 INLINE
const LPoint3 &get_pos()
const;
42 INLINE
const LOrientation &get_orient()
const;
43 INLINE
const LMatrix4 &get_transform()
const;
44 INLINE
double get_time()
const;
45 INLINE
bool has_time()
const;
47 INLINE
void set_tracker_coordinate_system(CoordinateSystem cs);
48 INLINE CoordinateSystem get_tracker_coordinate_system()
const;
50 INLINE
void set_graph_coordinate_system(CoordinateSystem cs);
51 INLINE CoordinateSystem get_graph_coordinate_system()
const;
61 int _transform_output;
69 CoordinateSystem _tracker_cs, _graph_cs;
75 static void init_type() {
76 DataNode::init_type();
78 DataNode::get_class_type());
81 return get_class_type();
83 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
The fundamental type of node for the data graph.
This class reads the position and orientation information from a tracker device and makes it availabl...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Stores the kinds of data that a tracker might output.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
An abstract base class for a family of client device interfaces–including trackers,...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Encapsulates the data generated from (or sent into) any particular DataNode.
This object supervises the traversal of the data graph and the moving of data from one DataNode to it...