Aero.Node Class
Namespace: Aero
Create node object for use with virtual reality animation
Description
Aero.Node
creates a node object for use with virtual reality animation
Aerospace Toolbox license.
The Aero.Node
class is a handle
class.
Creation
Description
creates a node object for use
with virtual reality animation.h
= Aero.Node
Properties
Methods
Algorithms
Typically, you do not need to create a node object with this method. This is because the
.wrl
file stores the information for a virtual reality scene. During the
initialization of the virtual reality animation object, any node with a DEF
statement in the specified .wrl
file has a node object created.
When working with nodes, consider the translation and rotation. Translation is a 1-by-3
matrix in the aerospace body coordinate system defined for the Aero.VirtualRealityAnimation
object or another coordinate system. In the latter
case, you can use the CoordtransformFcn
function to move it into the defined aerospace body coordinate system. The defined aerospace
body coordinate system is defined relative to the screen as x-left,
y-in, z-down.
Rotation is a 1-by-3 matrix, in radians, that specifies the rotations about the right-hand
x-y-z coordinate axes. The order of
application of the rotation is z-y-x
(yaw, pitch, and roll (Y-P-R)). This
function uses the CoordtransformFcn
to apply the translation and rotation from the input coordinate system to the defined
aerospace body coordinate system. The function then moves the translation and rotation from
the defined aerospace body coordinate system to the defined VRML
x-y-z coordinates for the Aero.VirtualRealityAnimation
object. The defined VRML coordinate system is defined
relative to the screen as x-right, y-up,
z-out.
Version History
Introduced in R2007b