1SoDecomposeRotation(3IV)() SoDecomposeRotation(3IV)()
2
3
4
6 SoDecomposeRotation — decomposes rotation values
7
9 SoBase > SoFieldContainer > SoEngine > SoDecomposeRotation
10
12 #include <Inventor/engines/SoCompose.h>
13
14 Inputs from class SoDecomposeRotation:
15
16 SoMFRotation rotation
17
18 Outputs from class SoDecomposeRotation:
19
20 (SoMFVec3f) axis
21 (SoMFFloat) angle
22
23 Methods from class SoDecomposeRotation:
24
25 SoDecomposeRotation()
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
67 This engine takes as input a rotation, and decomposes it into an axis
68 value and a rotation angle (in radians).
69
70 The input can have multiple values, allowing the engine to decompose
71 several rotations in parallel.
72
74 SoMFRotation rotation
75 Rotation to be decomposed.
76
77
79 (SoMFVec3f) axis
80 Axis of rotation derived from the input.
81
82 (SoMFFloat) angle
83 Angle (in radians) derived from the input.
84
85
87 SoDecomposeRotation()
88 Constructor
89
90
92 DecomposeRotation {
93 rotation 0 0 1 0
94 }
95
97 SoDecomposeRotationFromTo, SoComposeRotation, SoEngineOutput
98
99
100
101
102 SoDecomposeRotation(3IV)()