TrackerNode
from panda3d.core import TrackerNode
- class TrackerNode
Bases:
DataNode
This class reads the position and orientation information from a tracker device and makes it available as a transformation on the data graph. It is also the primary interface to a Tracker object associated with a ClientBase.
Inheritance diagram
- __init__(*args, **kwargs)
- getClassType()
C++ Interface: get_class_type()
- getGraphCoordinateSystem()
C++ Interface: get_graph_coordinate_system(TrackerNode self)
- /**
Returns the coordinate system that the TrackerNode will convert its
transform into for passing down the data graph. Normally, this is
CS_default.
*/
- getOrient()
C++ Interface: get_orient(TrackerNode self)
- /**
Returns the current orientation of the tracker, if it is available.
*/
- getPos()
C++ Interface: get_pos(TrackerNode self)
- /**
Returns the current position of the tracker, if it is available.
*/
- getTime()
C++ Interface: get_time(TrackerNode self)
- /**
Returns the time of the tracker’s last update.
*/
- getTrackerCoordinateSystem()
C++ Interface: get_tracker_coordinate_system(TrackerNode self)
- /**
Returns the coordinate system that the tracker associated with this node
will operate in.
*/
- getTransform()
C++ Interface: get_transform(TrackerNode self)
- /**
Returns the current position and orientation of the tracker, as a combined
matrix.
*/
- get_class_type()
C++ Interface: get_class_type()
- get_graph_coordinate_system()
C++ Interface: get_graph_coordinate_system(TrackerNode self)
- /**
Returns the coordinate system that the TrackerNode will convert its
transform into for passing down the data graph. Normally, this is
CS_default.
*/
- get_orient()
C++ Interface: get_orient(TrackerNode self)
- /**
Returns the current orientation of the tracker, if it is available.
*/
- get_pos()
C++ Interface: get_pos(TrackerNode self)
- /**
Returns the current position of the tracker, if it is available.
*/
- get_time()
C++ Interface: get_time(TrackerNode self)
- /**
Returns the time of the tracker’s last update.
*/
- get_tracker_coordinate_system()
C++ Interface: get_tracker_coordinate_system(TrackerNode self)
- /**
Returns the coordinate system that the tracker associated with this node
will operate in.
*/
- get_transform()
C++ Interface: get_transform(TrackerNode self)
- /**
Returns the current position and orientation of the tracker, as a combined
matrix.
*/
- hasTime()
C++ Interface: has_time(TrackerNode self)
- /**
True if this data comes with timestamps.
*/
- has_time()
C++ Interface: has_time(TrackerNode self)
- /**
True if this data comes with timestamps.
*/
- isValid()
C++ Interface: is_valid(TrackerNode self)
- /**
Returns true if the TrackerNode is valid and connected to a server, false
otherwise.
*/
- is_valid()
C++ Interface: is_valid(TrackerNode self)
- /**
Returns true if the TrackerNode is valid and connected to a server, false
otherwise.
*/
- setGraphCoordinateSystem()
C++ Interface: set_graph_coordinate_system(const TrackerNode self, int cs)
- /**
Specifies the coordinate system that the TrackerNode will convert its
transform into for passing down the data graph. Normally, this is
CS_default.
*/
- setTrackerCoordinateSystem()
C++ Interface: set_tracker_coordinate_system(const TrackerNode self, int cs)
- /**
Specifies the coordinate system that the tracker associated with this node
will operate in. Normally, this is set from the ClientBase that’s used to
create the TrackerNode, so it should not need to be set on an individual
tracker basis.
*/
- set_graph_coordinate_system()
C++ Interface: set_graph_coordinate_system(const TrackerNode self, int cs)
- /**
Specifies the coordinate system that the TrackerNode will convert its
transform into for passing down the data graph. Normally, this is
CS_default.
*/
- set_tracker_coordinate_system()
C++ Interface: set_tracker_coordinate_system(const TrackerNode self, int cs)
- /**
Specifies the coordinate system that the tracker associated with this node
will operate in. Normally, this is set from the ClientBase that’s used to
create the TrackerNode, so it should not need to be set on an individual
tracker basis.
*/