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

SoDecomposeRotation — decomposes rotation values

Description

       This  engine  takes  as  input  a rotation, and decomposes it into an axis value and a rotation angle (in
       radians).

       The input can have multiple values, allowing the engine to decompose several rotations in parallel.

File Format/Defaults

DecomposeRotation{rotation0010}

Inherits From

       SoBase > SoFieldContainer > SoEngine > SoDecomposeRotation

Inputs

SoMFRotationrotation
          Rotation to be decomposed.

Methods

SoDecomposeRotation()
          Constructor

Name

       SoDecomposeRotation — decomposes rotation values

Outputs

(SoMFVec3f)axis
          Axis of rotation derived from the input.

     (SoMFFloat)angle
          Angle (in radians) derived from the input.

See Also

SoDecomposeRotationFromTo,SoComposeRotation,SoEngineOutputSoDecomposeRotation(3IV)()

Synopsis

#include<Inventor/engines/SoCompose.h>

          Inputs from class SoDecomposeRotation:

     SoMFRotationrotation

          Outputs from class SoDecomposeRotation:

     (SoMFVec3f)axis(SoMFFloat)angle

          Methods from class SoDecomposeRotation:

                         SoDecomposeRotation()

          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