Scroll to navigation

SoInterpolate(3IV)() SoInterpolate(3IV)()


SoInterpolate — base class for all interpolator engines


SoBase > SoFieldContainer > SoEngine > SoInterpolate


#include <Inventor/engines/SoInterpolate.h>

Inputs from class SoInterpolate:

SoSFFloat alpha

Outputs from class SoInterpolate:

(SoMFFloat) output

Methods from class SoEngine:

static SoType getClassTypeId()

virtual int getOutputs(SoEngineOutputList &list) const

SoEngineOutput * getOutput(const SbName &outputName) const

SbBool getOutputName(const SoEngineOutput *output, SbName &outputName) const

SoEngine * copy() const

static SoEngine * getByName(const SbName &name)

static int getByName(const SbName &name, SoEngineList &list)

Methods from class SoFieldContainer:

void setToDefaults()

SbBool hasDefaultValues() const

SbBool fieldsAreEqual(const SoFieldContainer *fc) const

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

SbBool set(const char *fieldDataString)

void get(SbString &fieldDataString)

virtual int getFields(SoFieldList &resultList) const

virtual SoField * getField(const SbName &fieldName) const

SbBool getFieldName(const SoField *field, SbName &fieldName) const

SbBool isNotifyEnabled() const

SbBool enableNotify(SbBool flag)

Methods from class SoBase:

void ref()

void unref() const

void unrefNoDelete() const

void touch()

virtual SoType getTypeId() const

SbBool isOfType(SoType type) const

virtual void setName(const SbName &name)

virtual SbName getName() const


SoInterpolate is the abstract base class for all interpolator engines. An interpolator engine linearly interpolates between two values, based on the alpha input value. The alpha value should be between 0.0 and 1.0. The interpolator engines derived from this class define the input fields that are to be interpolated.


SoSFFloat alpha

Interpolation control value.


(SoMFFloat) output

Interpolated value. The type of the output value is the same as the type of the input values, which is specified by the derived classes.


This is an abstract class. See the reference page of a derived class for the format and default values.


SoEngineOutput, SoInterpolateFloat, SoInterpolateRotation, SoInterpolateVec2f, SoInterpolateVec3f, SoInterpolateVec4f