| 1 |
NAME SoRotationXYZ SoRotXYZ SO_ROT_XYZ_ { |
| 2 |
node representing a 3D rotation about the x-, y-, or z-axis |
| 3 |
} |
| 4 |
|
| 5 |
INCLUDE nodes/SoRotationXYZ.h |
| 6 |
|
| 7 |
DESC { |
| 8 |
This node defines a 3D rotation about one of the three principal axes. |
| 9 |
The rotation is accumulated into the current transformation, which is |
| 10 |
applied to subsequent shapes. |
| 11 |
} |
| 12 |
|
| 13 |
ENUM Axis { |
| 14 |
X "The x-axis", |
| 15 |
Y "The y-axis", |
| 16 |
Z "The z-axis" |
| 17 |
} |
| 18 |
|
| 19 |
FIELD axis { Rotation axis. } |
| 20 |
FIELD angle { Rotation angle (in radians), using the right-hand rule. } |
| 21 |
|
| 22 |
METHOD "" SoRotationXYZ() { |
| 23 |
Creates a rotation node with default settings. |
| 24 |
} |
| 25 |
|
| 26 |
METHOD "" SbRotation getRotation() const { |
| 27 |
Returns an \cSbRotation\. equivalent to the specified rotation. |
| 28 |
} |
| 29 |
|
| 30 |
METHOD "" static SoType getClassTypeId() { |
| 31 |
Returns type identifier for this class. |
| 32 |
} |
| 33 |
|
| 34 |
ACTION SoGLRenderAction, SoCallbackAction, |
| 35 |
SoGetBoundingBoxAction, SoRayPickAction { |
| 36 |
Accumulates rotation transformation into the current transformation. |
| 37 |
} |
| 38 |
|
| 39 |
ACTION SoGetMatrixAction { |
| 40 |
Returns the matrix corresponding to the rotation. |
| 41 |
} |
| 42 |
|
| 43 |
ALSO { SoRotation, SoTransform } |