SoComposeRotation — composes a rotation from axis and angle values
Contents
Description
This engine has two inputs, representing an axis of rotation and a rotation angle in radians. As output,
the engine composes the inputs into a rotation field.
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
ComposeRotation{axis001angle0}Inherits From
SoBase > SoFieldContainer > SoEngine > SoComposeRotation
Inputs
SoMFVec3faxis
Axis of rotation.
SoMFFloatangle
Angle of rotation.
Methods
SoComposeRotation()
Constructor
Name
SoComposeRotation — composes a rotation from axis and angle values
Outputs
(SoMFRotation)rotation
Rotation field, defined by the inputs.
See Also
SoComposeRotationFromTo,SoDecomposeRotation,SoEngineOutputSoComposeRotation(3IV)()
Synopsis
#include<Inventor/engines/SoCompose.h>
Inputs from class SoComposeRotation:
SoMFVec3faxisSoMFFloatangle
Outputs from class SoComposeRotation:
(SoMFRotation)rotation
Methods from class SoComposeRotation:
SoComposeRotation()
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