1SoInterpolateFloat(3IV)()                            SoInterpolateFloat(3IV)()
2
3
4

NAME

6       SoInterpolateFloat — interpolates floating-point values
7

INHERITS FROM

9       SoBase  >  SoFieldContainer > SoEngine > SoInterpolate > SoInterpolate‐
10       Float
11

SYNOPSIS

13       #include <Inventor/engines/SoInterpolate.h>
14
15          Inputs from class SoInterpolateFloat:
16
17     SoMFFloat           input0
18     SoMFFloat           input1
19
20          Inputs from class SoInterpolate:
21
22     SoSFFloat           alpha
23
24          Outputs from class SoInterpolate:
25
26     (SoMFFloat)         output
27
28          Methods from class SoInterpolateFloat:
29
30                         SoInterpolateFloat()
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

DESCRIPTION

72       This  engine  linearly  interpolates between two floating-point values,
73       based on the alpha input value. The alpha value should be  between  0.0
74       and 1.0.
75
76       The  input  fields  can  have  multiple  values, allowing the engine to
77       interpolate several objects in parallel. One of  the  inputs  may  have
78       more values than the other. In that case, the last value of the shorter
79       input will be repeated as necessary.
80

INPUTS

82     SoMFFloat           input0
83     SoMFFloat           input1
84          The engine linearly interpolates from input0 to input1.
85
86

METHODS

88                         SoInterpolateFloat()
89          Constructor.
90
91

FILE FORMAT/DEFAULTS

93       InterpolateFloat {
94          alpha   0
95          input0  0
96          input1  1
97     }
98

SEE ALSO

100       SoEngineOutput, SoInterpolateRotation,  SoInterpolateVec2f,  SoInterpo‐
101       lateVec3f, SoInterpolateVec4f
102
103
104
105
106                                                     SoInterpolateFloat(3IV)()
Impressum