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

SoInterpolateVec2f — interpolates 2D floating-point vectors

Description

       This engine linearly interpolates between two 2D 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.

File Format/Defaults

InterpolateVec2f{alpha0input000input100}

Inherits From

       SoBase > SoFieldContainer > SoEngine > SoInterpolate > SoInterpolateVec2f

Inputs

SoMFVec2finput0SoMFVec2finput1
          The engine linearly interpolates from input0 to input1.

Methods

SoInterpolateVec2f()
          Constructor.

Name

       SoInterpolateVec2f — interpolates 2D floating-point vectors

See Also

SoEngineOutput,SoInterpolateFloat,SoInterpolateRotation,SoInterpolateVec3f,SoInterpolateVec4fSoInterpolateVec2f(3IV)()

Synopsis

#include<Inventor/engines/SoInterpolate.h>

          Inputs from class SoInterpolateVec2f:

     SoMFVec2finput0SoMFVec2finput1

          Inputs from class SoInterpolate:

     SoSFFloatalpha

          Outputs from class SoInterpolate:

     (SoMFVec2f)output

          Methods from class SoInterpolateVec2f:

                         SoInterpolateVec2f()

          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