TrackerNode¶
-
class TrackerNode¶
Bases:
DataNodeThis 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
digraph inheritance347d42d2de { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "AcronNode" [URL="acron.core.AcronNode.html#acron.core.AcronNode",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedWritableReferenceCount" -> "AcronNode" [arrowsize=0.75,style=""]; "Namable" -> "AcronNode" [arrowsize=0.75,style=""]; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "DataNode" [URL="acron.core.DataNode.html#acron.core.DataNode",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "AcronNode" -> "DataNode" [arrowsize=0.75,style=""]; "Namable" [URL="acron.core.Namable.html#acron.core.Namable",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "Namable" [arrowsize=0.75,style=""]; "ReferenceCount" [URL="acron.core.ReferenceCount.html#acron.core.ReferenceCount",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "ReferenceCount" [arrowsize=0.75,style=""]; "TrackerNode" [URL="acron.core.TrackerNode.html#acron.core.TrackerNode",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DataNode" -> "TrackerNode" [arrowsize=0.75,style=""]; "TypedObject" [URL="acron.core.TypedObject.html#acron.core.TypedObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "TypedObject" [arrowsize=0.75,style=""]; "TypedWritable" [URL="acron.core.TypedWritable.html#acron.core.TypedWritable",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedObject" -> "TypedWritable" [arrowsize=0.75,style=""]; "TypedWritableReferenceCount" [URL="acron.core.TypedWritableReferenceCount.html#acron.core.TypedWritableReferenceCount",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedWritable" -> "TypedWritableReferenceCount" [arrowsize=0.75,style=""]; "ReferenceCount" -> "TypedWritableReferenceCount" [arrowsize=0.75,style=""]; }- TrackerNode.__init__()¶
- static TrackerNode.get_class_type()¶
- TrackerNode.get_graph_coordinate_system()¶
Returns the coordinate system that the
TrackerNodewill convert its transform into for passing down the data graph. Normally, this is CS_default.
- TrackerNode.get_orient()¶
Returns the current orientation of the tracker, if it is available.
- TrackerNode.get_pos()¶
Returns the current position of the tracker, if it is available.
- TrackerNode.get_time()¶
Returns the time of the tracker’s last update.
- TrackerNode.get_tracker_coordinate_system()¶
Returns the coordinate system that the tracker associated with this node will operate in.
- TrackerNode.get_transform()¶
Returns the current position and orientation of the tracker, as a combined matrix.
- TrackerNode.has_time()¶
True if this data comes with timestamps.
- TrackerNode.is_valid()¶
Returns true if the
TrackerNodeis valid and connected to a server, false otherwise.
- TrackerNode.set_graph_coordinate_system()¶
Specifies the coordinate system that the
TrackerNodewill convert its transform into for passing down the data graph. Normally, this is CS_default.
- TrackerNode.set_tracker_coordinate_system()¶
Specifies the coordinate system that the tracker associated with this node will operate in. Normally, this is set from the
ClientBasethat’s used to create theTrackerNode, so it should not need to be set on an individual tracker basis.