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

SoComposeRotationFromTo — composes a rotation that rotates from one vector into another

Description

       This  engine  takes  two  inputs,  representing a vector before and after a rotation has been applied. As
       output, it produces the rotation value that would cause the first vector to transform into the other.

       The input fields can have multiple values, allowing the engine to compose several rotations in  parallel.
       Some inputs may have more values than others. In such cases, the last value of the shorter inputs will be
       repeated as necessary.

File Format/Defaults

ComposeRotationFromTo{from001to001}

Inherits From

       SoBase > SoFieldContainer > SoEngine > SoComposeRotationFromTo

Inputs

SoMFVec3ffrom
          Vector before the rotation.

     SoMFVec3fto
          Vector after the rotation.

Methods

SoComposeRotationFromTo()
          Constructor

Name

       SoComposeRotationFromTo — composes a rotation that rotates from one vector into another

Outputs

(SoMFRotation)rotation
          A rotation that transforms one vector into another.

See Also

SoComposeRotation,SoDecomposeRotationFromTo,SoEngineOutputSoComposeRotationFromTo(3IV)()

Synopsis

#include<Inventor/engines/SoCompose.h>

          Inputs from class SoComposeRotationFromTo:

     SoMFVec3ffromSoMFVec3fto

          Outputs from class SoComposeRotationFromTo:

     (SoMFRotation)rotation

          Methods from class SoComposeRotationFromTo:

                         SoComposeRotationFromTo()

          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