File: SoRotationXYZ.ivm

package info (click to toggle)
inventor 2.1.5-10-14
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 32,892 kB
  • ctags: 21,729
  • sloc: ansic: 33,867; lisp: 7,361; cpp: 3,874; yacc: 369; sh: 359; perl: 234; awk: 141; makefile: 76; csh: 35; sed: 11
file content (43 lines) | stat: -rw-r--r-- 1,045 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
NAME SoRotationXYZ SoRotXYZ SO_ROT_XYZ_ {
node representing a 3D rotation about the x-, y-, or z-axis
}

INCLUDE nodes/SoRotationXYZ.h

DESC {
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.
}

ENUM Axis {
    X	"The x-axis",
    Y	"The y-axis",
    Z	"The z-axis"
}

FIELD axis { Rotation axis. }
FIELD angle { Rotation angle (in radians), using the right-hand rule. }

METHOD "" SoRotationXYZ() {
Creates a rotation node with default settings.
}

METHOD "" SbRotation getRotation() const {
Returns an \cSbRotation\. equivalent to the specified rotation.
}

METHOD "" static SoType getClassTypeId() {
Returns type identifier for this class.
}

ACTION SoGLRenderAction, SoCallbackAction,
       SoGetBoundingBoxAction, SoRayPickAction {
Accumulates rotation transformation into the current transformation.
}

ACTION SoGetMatrixAction {
Returns the matrix corresponding to the rotation.
}

ALSO { SoRotation, SoTransform }