1SoComposeRotation(3IV)()                              SoComposeRotation(3IV)()
2
3
4

NAME

6       SoComposeRotation — composes a rotation from axis and angle values
7

INHERITS FROM

9       SoBase > SoFieldContainer > SoEngine > SoComposeRotation
10

SYNOPSIS

12       #include <Inventor/engines/SoCompose.h>
13
14          Inputs from class SoComposeRotation:
15
16     SoMFVec3f           axis
17     SoMFFloat           angle
18
19          Outputs from class SoComposeRotation:
20
21     (SoMFRotation)      rotation
22
23          Methods from class SoComposeRotation:
24
25                         SoComposeRotation()
26
27          Methods from class SoEngine:
28
29     static SoType       getClassTypeId()
30     virtual int         getOutputs(SoEngineOutputList &list) const
31     SoEngineOutput *    getOutput(const SbName &outputName) const
32     SbBool              getOutputName(const  SoEngineOutput  *output,  SbName
33                              &outputName) const
34     SoEngine *          copy() const
35     static SoEngine *   getByName(const SbName &name)
36     static int          getByName(const SbName &name, SoEngineList &list)
37
38          Methods from class SoFieldContainer:
39
40     void                setToDefaults()
41     SbBool              hasDefaultValues() const
42     SbBool              fieldsAreEqual(const SoFieldContainer *fc) const
43     void                copyFieldValues(const  SoFieldContainer  *fc,  SbBool
44                              copyConnections = FALSE)
45     SbBool              set(const char *fieldDataString)
46     void                get(SbString &fieldDataString)
47     virtual int         getFields(SoFieldList &resultList) const
48     virtual SoField *   getField(const SbName &fieldName) const
49     SbBool              getFieldName(const SoField *field, SbName &fieldName)
50                              const
51     SbBool              isNotifyEnabled() const
52     SbBool              enableNotify(SbBool flag)
53
54          Methods from class SoBase:
55
56     void                ref()
57     void                unref() const
58     void                unrefNoDelete() const
59     void                touch()
60     virtual SoType      getTypeId() const
61     SbBool              isOfType(SoType type) const
62     virtual void        setName(const SbName &name)
63     virtual SbName      getName() const
64
65

DESCRIPTION

67       This engine has two inputs, representing an  axis  of  rotation  and  a
68       rotation  angle  in  radians. As output, the engine composes the inputs
69       into a rotation field.
70
71       The input fields can have multiple values, allowing the engine to  com‐
72       pose  several  rotations  in parallel. Some inputs may have more values
73       than others. In such cases, the last value of the shorter  inputs  will
74       be repeated as necessary.
75

INPUTS

77     SoMFVec3f           axis
78          Axis of rotation.
79
80     SoMFFloat           angle
81          Angle of rotation.
82
83

OUTPUTS

85     (SoMFRotation)      rotation
86          Rotation field, defined by the inputs.
87
88

METHODS

90                         SoComposeRotation()
91          Constructor
92
93

FILE FORMAT/DEFAULTS

95       ComposeRotation {
96          axis   0 0 1
97          angle  0
98     }
99

SEE ALSO

101       SoComposeRotationFromTo, SoDecomposeRotation, SoEngineOutput
102
103
104
105
106                                                      SoComposeRotation(3IV)()
Impressum