1SoInterpolateRotation(3IV)() SoInterpolateRotation(3IV)()
2
3
4
6 SoInterpolateRotation — interpolates rotation values
7
9 SoBase > SoFieldContainer > SoEngine > SoInterpolate > SoInterpolateRo‐
10 tation
11
13 #include <Inventor/engines/SoInterpolate.h>
14
15 Inputs from class SoInterpolateRotation:
16
17 SoMFRotation input0
18 SoMFRotation input1
19
20 Inputs from class SoInterpolate:
21
22 SoSFFloat alpha
23
24 Outputs from class SoInterpolate:
25
26 (SoMFRotation) output
27
28 Methods from class SoInterpolateRotation:
29
30 SoInterpolateRotation()
31
32 Methods from class SoEngine:
33
34 static SoType getClassTypeId()
35 virtual int getOutputs(SoEngineOutputList &list) const
36 SoEngineOutput * getOutput(const SbName &outputName) const
37 SbBool getOutputName(const SoEngineOutput *output, SbName
38 &outputName) const
39 SoEngine * copy() const
40 static SoEngine * getByName(const SbName &name)
41 static int getByName(const SbName &name, SoEngineList &list)
42
43 Methods from class SoFieldContainer:
44
45 void setToDefaults()
46 SbBool hasDefaultValues() const
47 SbBool fieldsAreEqual(const SoFieldContainer *fc) const
48 void copyFieldValues(const SoFieldContainer *fc, SbBool
49 copyConnections = FALSE)
50 SbBool set(const char *fieldDataString)
51 void get(SbString &fieldDataString)
52 virtual int getFields(SoFieldList &resultList) const
53 virtual SoField * getField(const SbName &fieldName) const
54 SbBool getFieldName(const SoField *field, SbName &fieldName)
55 const
56 SbBool isNotifyEnabled() const
57 SbBool enableNotify(SbBool flag)
58
59 Methods from class SoBase:
60
61 void ref()
62 void unref() const
63 void unrefNoDelete() const
64 void touch()
65 virtual SoType getTypeId() const
66 SbBool isOfType(SoType type) const
67 virtual void setName(const SbName &name)
68 virtual SbName getName() const
69
70
72 This engine linearly interpolates between two rotation values, based on
73 the alpha input value. The alpha value should be between 0.0 and 1.0.
74
75 The input fields can have multiple rotations, allowing the engine to
76 interpolate several objects in parallel. One of the inputs may have
77 more values than the other. In that case, the last value of the shorter
78 input will be repeated as necessary.
79
81 SoMFRotation input0
82 SoMFRotation input1
83 The engine linearly interpolates from input0 to input1.
84
85
87 SoInterpolateRotation()
88 Constructor.
89
90
92 InterpolateRotation {
93 alpha 0
94 input0 0 0 1 0
95 input1 0 0 1 0
96 }
97
99 SoEngineOutput, SoInterpolateFloat, SoInterpolateVec2f, SoInterpolat‐
100 eVec3f, SoInterpolateVec4f
101
102
103
104
105 SoInterpolateRotation(3IV)()