1SoRotationXYZ(3IV)()                                      SoRotationXYZ(3IV)()
2
3
4

NAME

6       SoRotationXYZ — node representing a 3D rotation about the x-, y-, or z-
7       axis
8

INHERITS FROM

10       SoBase > SoFieldContainer > SoNode > SoTransformation > SoRotationXYZ
11

SYNOPSIS

13       #include <Inventor/nodes/SoRotationXYZ.h>
14
15     enum Axis {
16          SoRotationXYZ::X    The x-axis
17          SoRotationXYZ::Y    The y-axis
18          SoRotationXYZ::Z    The z-axis
19     }
20
21          Fields from class SoRotationXYZ:
22
23     SoSFEnum            axis
24     SoSFFloat           angle
25
26          Methods from class SoRotationXYZ:
27
28                         SoRotationXYZ()
29     SbRotation          getRotation() const
30     static SoType       getClassTypeId()
31
32          Methods from class SoNode:
33
34     void                setOverride(SbBool state)
35     SbBool              isOverride() const
36     SoNode *            copy(SbBool copyConnections = FALSE) const
37     virtual SbBool      affectsState() const
38     static SoNode *     getByName(const SbName &name)
39     static int          getByName(const SbName &name, SoNodeList &list)
40
41          Methods from class SoFieldContainer:
42
43     void                setToDefaults()
44     SbBool              hasDefaultValues() const
45     SbBool              fieldsAreEqual(const SoFieldContainer *fc) const
46     void                copyFieldValues(const  SoFieldContainer  *fc,  SbBool
47                              copyConnections = FALSE)
48     SbBool              set(const char *fieldDataString)
49     void                get(SbString &fieldDataString)
50     virtual int         getFields(SoFieldList &resultList) const
51     virtual SoField *   getField(const SbName &fieldName) const
52     SbBool              getFieldName(const SoField *field, SbName &fieldName)
53                              const
54     SbBool              isNotifyEnabled() const
55     SbBool              enableNotify(SbBool flag)
56
57          Methods from class SoBase:
58
59     void                ref()
60     void                unref() const
61     void                unrefNoDelete() const
62     void                touch()
63     virtual SoType      getTypeId() const
64     SbBool              isOfType(SoType type) const
65     virtual void        setName(const SbName &name)
66     virtual SbName      getName() const
67
68

DESCRIPTION

70       This node defines a 3D rotation about one of the three principal  axes.
71       The  rotation  is accumulated into the current transformation, which is
72       applied to subsequent shapes.
73

FIELDS

75     SoSFEnum            axis
76          Rotation axis.
77
78     SoSFFloat           angle
79          Rotation angle (in radians), using the right-hand rule.
80
81

METHODS

83                         SoRotationXYZ()
84          Creates a rotation node with default settings.
85
86     SbRotation          getRotation() const
87          Returns an SbRotation equivalent to the specified rotation.
88
89     static SoType       getClassTypeId()
90          Returns type identifier for this class.
91
92

ACTION BEHAVIOR

94       SoGLRenderAction, SoCallbackAction, SoGetBoundingBoxAction,  SoRayPick‐
95       Action
96          Accumulates rotation transformation into the current transformation.
97
98     SoGetMatrixAction
99          Returns the matrix corresponding to the rotation.
100
101

FILE FORMAT/DEFAULTS

103       RotationXYZ {
104          axis   X
105          angle  0
106     }
107

SEE ALSO

109       SoRotation, SoTransform
110
111
112
113
114                                                          SoRotationXYZ(3IV)()
Impressum