1SoRotation(3IV)()                                            SoRotation(3IV)()
2
3
4

NAME

6       SoRotation — node representing a 3D rotation about an arbitrary axis
7

INHERITS FROM

9       SoBase > SoFieldContainer > SoNode > SoTransformation > SoRotation
10

SYNOPSIS

12       #include <Inventor/nodes/SoRotation.h>
13
14          Fields from class SoRotation:
15
16     SoSFRotation        rotation
17
18          Methods from class SoRotation:
19
20                         SoRotation()
21     static SoType       getClassTypeId()
22
23          Methods from class SoNode:
24
25     void                setOverride(SbBool state)
26     SbBool              isOverride() const
27     SoNode *            copy(SbBool copyConnections = FALSE) const
28     virtual SbBool      affectsState() const
29     static SoNode *     getByName(const SbName &name)
30     static int          getByName(const SbName &name, SoNodeList &list)
31
32          Methods from class SoFieldContainer:
33
34     void                setToDefaults()
35     SbBool              hasDefaultValues() const
36     SbBool              fieldsAreEqual(const SoFieldContainer *fc) const
37     void                copyFieldValues(const  SoFieldContainer  *fc,  SbBool
38                              copyConnections = FALSE)
39     SbBool              set(const char *fieldDataString)
40     void                get(SbString &fieldDataString)
41     virtual int         getFields(SoFieldList &resultList) const
42     virtual SoField *   getField(const SbName &fieldName) const
43     SbBool              getFieldName(const SoField *field, SbName &fieldName)
44                              const
45     SbBool              isNotifyEnabled() const
46     SbBool              enableNotify(SbBool flag)
47
48          Methods from class SoBase:
49
50     void                ref()
51     void                unref() const
52     void                unrefNoDelete() const
53     void                touch()
54     virtual SoType      getTypeId() const
55     SbBool              isOfType(SoType type) const
56     virtual void        setName(const SbName &name)
57     virtual SbName      getName() const
58
59

DESCRIPTION

61       This  node  defines  a  3D rotation about an arbitrary axis through the
62       origin. The rotation is accumulated into  the  current  transformation,
63       which  is  applied  to subsequent shapes. The rotation field provides a
64       variety of methods for specifying the rotation.
65

FIELDS

67     SoSFRotation        rotation
68          Rotation specification.
69
70

METHODS

72                         SoRotation()
73          Creates a rotation node with default settings.
74
75     static SoType       getClassTypeId()
76          Returns type identifier for this class.
77
78

ACTION BEHAVIOR

80       SoGLRenderAction, SoCallbackAction, SoGetBoundingBoxAction,  SoRayPick‐
81       Action
82          Accumulates rotation transformation into the current transformation.
83
84     SoGetMatrixAction
85          Returns the matrix corresponding to the rotation.
86
87

FILE FORMAT/DEFAULTS

89       Rotation {
90          rotation  0 0 1  0
91     }
92

SEE ALSO

94       SoRotationXYZ, SoTransform
95
96
97
98
99                                                             SoRotation(3IV)()
Impressum