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

SoInterpolateVec3f — interpolates 3D floating-point vectors

Description

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

InterpolateVec3f{alpha0input0000input1000}

Inherits From

       SoBase > SoFieldContainer > SoEngine > SoInterpolate > SoInterpolateVec3f

Inputs

SoMFVec3finput0SoMFVec3finput1
          The engine linearly interpolates from input0 to input1.

Methods

SoInterpolateVec3f()
          Constructor.

Name

       SoInterpolateVec3f — interpolates 3D floating-point vectors

See Also

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

Synopsis

#include<Inventor/engines/SoInterpolate.h>

          Inputs from class SoInterpolateVec3f:

     SoMFVec3finput0SoMFVec3finput1

          Inputs from class SoInterpolate:

     SoSFFloatalpha

          Outputs from class SoInterpolate:

     (SoMFVec3f)output

          Methods from class SoInterpolateVec3f:

                         SoInterpolateVec3f()

          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