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

SoInterpolateRotation — interpolates rotation values

Description

       This  engine linearly interpolates between two rotation values, based on the alpha input value. The alpha
       value should be between 0.0 and 1.0.

       The input fields can have multiple rotations, 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

InterpolateRotation{alpha0input00010input10010}

Inherits From

       SoBase > SoFieldContainer > SoEngine > SoInterpolate > SoInterpolateRotation

Inputs

SoMFRotationinput0SoMFRotationinput1
          The engine linearly interpolates from input0 to input1.

Methods

SoInterpolateRotation()
          Constructor.

Name

       SoInterpolateRotation — interpolates rotation values

See Also

SoEngineOutput,SoInterpolateFloat,SoInterpolateVec2f,SoInterpolateVec3f,SoInterpolateVec4fSoInterpolateRotation(3IV)()

Synopsis

#include<Inventor/engines/SoInterpolate.h>

          Inputs from class SoInterpolateRotation:

     SoMFRotationinput0SoMFRotationinput1

          Inputs from class SoInterpolate:

     SoSFFloatalpha

          Outputs from class SoInterpolate:

     (SoMFRotation)output

          Methods from class SoInterpolateRotation:

                         SoInterpolateRotation()

          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