---
name: "SoInterpolate"
section: "3iv"
platform: "linux"
package: "inventor-doc"
version: "2.1.6+ds-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SoInterpolate/3iv"
---

# SoInterpolate(3iv)

base class for all interpolator engines

## NAME

SoInterpolate — base class for all interpolator engines

## INHERITS FROM

SoBase \> SoFieldContainer \> SoEngine \> SoInterpolate

## SYNOPSIS

**#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**

## DESCRIPTION

**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.

## INPUTS

**SoSFFloat**	**alpha**\
 Interpolation control value.

## OUTPUTS

**(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.

## FILE FORMAT/DEFAULTS

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

## SEE ALSO

**SoEngineOutput, SoInterpolateFloat, SoInterpolateRotation, SoInterpolateVec2f, SoInterpolateVec3f, SoInterpolateVec4f**
