| 1 |
NAME SoRotation SoRot "" { |
| 2 |
node representing a 3D rotation about an arbitrary axis |
| 3 |
} |
| 4 |
|
| 5 |
INCLUDE nodes/SoRotation.h |
| 6 |
|
| 7 |
DESC { |
| 8 |
This node defines a 3D rotation about an arbitrary axis through the |
| 9 |
origin. The rotation is accumulated into the current transformation, |
| 10 |
which is applied to subsequent shapes. The \vrotation\. field |
| 11 |
provides a variety of methods for specifying the rotation. |
| 12 |
} |
| 13 |
|
| 14 |
FIELD rotation { Rotation specification. } |
| 15 |
|
| 16 |
METHOD "" SoRotation() { |
| 17 |
Creates a rotation node with default settings. |
| 18 |
} |
| 19 |
|
| 20 |
METHOD "" static SoType getClassTypeId() { |
| 21 |
Returns type identifier for this class. |
| 22 |
} |
| 23 |
|
| 24 |
ACTION SoGLRenderAction, SoCallbackAction, |
| 25 |
SoGetBoundingBoxAction, SoRayPickAction { |
| 26 |
Accumulates rotation transformation into the current transformation. |
| 27 |
} |
| 28 |
|
| 29 |
ACTION SoGetMatrixAction { |
| 30 |
Returns the matrix corresponding to the rotation. |
| 31 |
} |
| 32 |
|
| 33 |
ALSO { SoRotationXYZ, SoTransform } |