1SoInterpolateVec3f(3IV)()                            SoInterpolateVec3f(3IV)()
2
3
4

NAME

6       SoInterpolateVec3f — interpolates 3D floating-point vectors
7

INHERITS FROM

9       SoBase  >  SoFieldContainer  > SoEngine > SoInterpolate > SoInterpolat‐
10       eVec3f
11

SYNOPSIS

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

INPUTS

81     SoMFVec3f           input0
82     SoMFVec3f           input1
83          The engine linearly interpolates from input0 to input1.
84
85

METHODS

87                         SoInterpolateVec3f()
88          Constructor.
89
90

FILE FORMAT/DEFAULTS

92       InterpolateVec3f {
93          alpha   0
94          input0  0 0 0
95          input1  0 0 0
96     }
97

SEE ALSO

99       SoEngineOutput,  SoInterpolateFloat,  SoInterpolateRotation, SoInterpo‐
100       lateVec2f, SoInterpolateVec4f
101
102
103
104
105                                                     SoInterpolateVec3f(3IV)()
Impressum