Node representing a 3D rotation about the x-, y-, or z-axis. More...
#include <Inventor/nodes/SoRotationXYZ.h>
Public Types | |
| enum | Axis { X, Y, Z } |
Public Member Functions | |
| virtual SoType | getTypeId () const |
| SoRotationXYZ () | |
| SbRotation | getRotation () const |
Static Public Member Functions | |
| static SoType | getClassTypeId () |
Public Attributes | |
| SoSFEnum | axis |
| SoSFFloat | angle |
Node representing a 3D rotation about the x-, y-, or z-axis.
This node defines a 3D rotation about one of the three principal axes. The rotation is accumulated into the current transformation, which is applied to subsequent shapes.
| axis | X |
| angle | 0 |
SoGetMatrixAction
Returns the matrix corresponding to the rotation.
| enum SoRotationXYZ::Axis |
| SoRotationXYZ::SoRotationXYZ | ( | ) |
Creates a rotation node with default settings.
| static SoType SoRotationXYZ::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoTransformation.
| SbRotation SoRotationXYZ::getRotation | ( | ) | const |
Returns an SbRotation equivalent to the specified rotation.
| virtual SoType SoRotationXYZ::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoTransformation.
Rotation angle (in radians), using the right-hand rule.
Rotation axis.
Use enum Axis. Default is X.