1SoInterpolateVec4f(3IV)() SoInterpolateVec4f(3IV)()
2
3
4
6 SoInterpolateVec4f — interpolates 4D floating-point vectors
7
9 SoBase > SoFieldContainer > SoEngine > SoInterpolate > SoInterpolat‐
10 eVec4f
11
13 #include <Inventor/engines/SoInterpolate.h>
14
15 Inputs from class SoInterpolateVec4f:
16
17 SoMFVec4f input0
18 SoMFVec4f input1
19
20 Inputs from class SoInterpolate:
21
22 SoSFFloat alpha
23
24 Outputs from class SoInterpolate:
25
26 (SoMFVec4f) output
27
28 Methods from class SoInterpolateVec4f:
29
30 SoInterpolateVec4f()
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 4D vectors, based on the
73 alpha input value. The alpha value should be between 0.0 and 1.0.
74
75 The input fields can have multiple vectors, 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 SoMFVec4f input0
82 SoMFVec4f input1
83 The engine linearly interpolates from input0 to input1.
84
85
87 SoInterpolateVec4f()
88 Constructor.
89
90
92 InterpolateVec4f {
93 alpha 0
94 input0 0 0 0 0
95 input1 0 0 0 0
96 }
97
99 SoEngineOutput, SoInterpolateFloat, SoInterpolateRotation, SoInterpo‐
100 lateVec2f, SoInterpolateVec3f
101
102
103
104
105 SoInterpolateVec4f(3IV)()