man SoInterpolateVec3f () - interpolates 3D floating-point vectors

NAME

SoInterpolateVec3f - interpolates 3D floating-point vectors

INHERITS FROM

SoBase > SoFieldContainer > SoEngine > SoInterpolate > SoInterpolateVec3f

SYNOPSIS

#include <Inventor/engines/SoInterpolate.h> Inputs from class SoInterpolateVec3f: c } c } input0

c } c } input1 Inputs from class SoInterpolate: c } c } alpha Outputs from class SoInterpolate: c } c } output Methods from class SoInterpolateVec3f: c } c } SoInterpolateVec3f() Methods from class SoEngine: c } c } getClassTypeId()

c } c } getOutputs(SoEngineOutputList &list) const

c } c } getOutput(const SbName &outputName) const

c } c } getOutputName(const SoEngineOutput *output, SbName &outputName) const

c } c } copy() const

c } c } getByName(const SbName &name)

c } c } getByName(const SbName &name, SoEngineList &list) Methods from class SoFieldContainer: c } c } setToDefaults()

c } c } hasDefaultValues() const

c } c } fieldsAreEqual(const SoFieldContainer *fc) const

c } c } copyFieldValues(const SoFieldContainer *fc, SbBool copyConnections = FALSE)

c } c } set(const char *fieldDataString)

c } c } get(SbString &fieldDataString)

c } c } getFields(SoFieldList &resultList) const

c } c } getField(const SbName &fieldName) const

c } c } getFieldName(const SoField *field, SbName &fieldName) const

c } c } isNotifyEnabled() const

c } c } enableNotify(SbBool flag) Methods from class SoBase: c } c } ref()

c } c } unref() const

c } c } unrefNoDelete() const

c } c } touch()

c } c } getTypeId() const

c } c } isOfType(SoType type) const

c } c } setName(const SbName &name)

c } c } getName() const

DESCRIPTION

This engine linearly interpolates between two 3D vectors, based on the alpha input value. The alpha value should be between 0.0 and 1.0. The input fields can have multiple vectors, allowing the engine to interpolate several objects in parallel. One of the inputs may have more values than the other. In that case, the last value of the shorter input will be repeated as necessary.

INPUTS

c } c } input0

c } c } input1

The engine linearly interpolates from input0 to input1.

METHODS

c } c } SoInterpolateVec3f()

Constructor.

FILE FORMAT/DEFAULTS

InterpolateVec3f {
alpha	0
input0	0 0 0
input1	0 0 0
}

SEE ALSO

SoEngineOutput, SoInterpolateFloat, SoInterpolateRotation, SoInterpolateVec2f, SoInterpolateVec4f