logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SoInterpolateFloat — interpolates floating-point values

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.

File Format/Defaults

InterpolateFloat{alpha0input00input11}

Inherits From

       SoBase > SoFieldContainer > SoEngine > SoInterpolate > SoInterpolateFloat

Inputs

SoMFFloatinput0SoMFFloatinput1
          The engine linearly interpolates from input0 to input1.

Methods

SoInterpolateFloat()
          Constructor.

Name

       SoInterpolateFloat — interpolates floating-point values

See Also

SoEngineOutput,SoInterpolateRotation,SoInterpolateVec2f,SoInterpolateVec3f,SoInterpolateVec4fSoInterpolateFloat(3IV)()

Synopsis

#include<Inventor/engines/SoInterpolate.h>

          Inputs from class SoInterpolateFloat:

     SoMFFloatinput0SoMFFloatinput1

          Inputs from class SoInterpolate:

     SoSFFloatalpha

          Outputs from class SoInterpolate:

     (SoMFFloat)output

          Methods from class SoInterpolateFloat:

                         SoInterpolateFloat()

          Methods from class SoEngine:

     staticSoTypegetClassTypeId()virtualintgetOutputs(SoEngineOutputList&list)constSoEngineOutput*getOutput(constSbName&outputName)constSbBoolgetOutputName(constSoEngineOutput*output,SbName&outputName)constSoEngine*copy()conststaticSoEngine*getByName(constSbName&name)staticintgetByName(constSbName&name,SoEngineList&list)

          Methods from class SoFieldContainer:

     voidsetToDefaults()SbBoolhasDefaultValues()constSbBoolfieldsAreEqual(constSoFieldContainer*fc)constvoidcopyFieldValues(constSoFieldContainer*fc,SbBoolcopyConnections=FALSE)SbBoolset(constchar*fieldDataString)voidget(SbString&fieldDataString)virtualintgetFields(SoFieldList&resultList)constvirtualSoField*getField(constSbName&fieldName)constSbBoolgetFieldName(constSoField*field,SbName&fieldName)constSbBoolisNotifyEnabled()constSbBoolenableNotify(SbBoolflag)

          Methods from class SoBase:

     voidref()voidunref()constvoidunrefNoDelete()constvoidtouch()virtualSoTypegetTypeId()constSbBoolisOfType(SoTypetype)constvirtualvoidsetName(constSbName&name)virtualSbNamegetName()const

See Also