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

SoInterpolateVec4f — interpolates 4D floating-point vectors

Description

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

InterpolateVec4f{alpha0input00000input10000}

Inherits From

       SoBase > SoFieldContainer > SoEngine > SoInterpolate > SoInterpolateVec4f

Inputs

SoMFVec4finput0SoMFVec4finput1
          The engine linearly interpolates from input0 to input1.

Methods

SoInterpolateVec4f()
          Constructor.

Name

       SoInterpolateVec4f — interpolates 4D floating-point vectors

See Also

SoEngineOutput,SoInterpolateFloat,SoInterpolateRotation,SoInterpolateVec2f,SoInterpolateVec3fSoInterpolateVec4f(3IV)()

Synopsis

#include<Inventor/engines/SoInterpolate.h>

          Inputs from class SoInterpolateVec4f:

     SoMFVec4finput0SoMFVec4finput1

          Inputs from class SoInterpolate:

     SoSFFloatalpha

          Outputs from class SoInterpolate:

     (SoMFVec4f)output

          Methods from class SoInterpolateVec4f:

                         SoInterpolateVec4f()

          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