man SoInterpolateFloat () - interpolates floating-point values

NAME

SoInterpolateFloat - interpolates floating-point values

INHERITS FROM

SoBase > SoFieldContainer > SoEngine > SoInterpolate > SoInterpolateFloat

SYNOPSIS

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

c } c } input1 Inputs from class SoInterpolate: c } c } alpha Outputs from class SoInterpolate: c } c } output Methods from class SoInterpolateFloat: c } c } SoInterpolateFloat() 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 floating-point values, based on the alpha input value. The alpha value should be between 0.0 and 1.0. The input fields can have multiple values, 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 } SoInterpolateFloat()

Constructor.

FILE FORMAT/DEFAULTS

InterpolateFloat {
alpha	0
input0	0
input1	1
}

SEE ALSO

SoEngineOutput, SoInterpolateRotation, SoInterpolateVec2f, SoInterpolateVec3f, SoInterpolateVec4f