DOKK / manpages / debian 11 / inventor-doc / SoDecomposeRotation.3iv.en
SoDecomposeRotation(3IV)() SoDecomposeRotation(3IV)()

SoDecomposeRotation — decomposes rotation values

SoBase > SoFieldContainer > SoEngine > SoDecomposeRotation

#include <Inventor/engines/SoCompose.h>


Inputs from class SoDecomposeRotation:


SoMFRotation rotation


Outputs from class SoDecomposeRotation:


(SoMFVec3f) axis

(SoMFFloat) angle


Methods from class SoDecomposeRotation:


SoDecomposeRotation()


Methods from class SoEngine:


static SoType getClassTypeId()

virtual int getOutputs(SoEngineOutputList &list) const

SoEngineOutput * getOutput(const SbName &outputName) const

SbBool getOutputName(const SoEngineOutput *output, SbName &outputName) const

SoEngine * copy() const

static SoEngine * getByName(const SbName &name)

static int getByName(const SbName &name, SoEngineList &list)


Methods from class SoFieldContainer:


void setToDefaults()

SbBool hasDefaultValues() const

SbBool fieldsAreEqual(const SoFieldContainer *fc) const

void copyFieldValues(const SoFieldContainer *fc, SbBool copyConnections = FALSE)

SbBool set(const char *fieldDataString)

void get(SbString &fieldDataString)

virtual int getFields(SoFieldList &resultList) const

virtual SoField * getField(const SbName &fieldName) const

SbBool getFieldName(const SoField *field, SbName &fieldName) const

SbBool isNotifyEnabled() const

SbBool enableNotify(SbBool flag)


Methods from class SoBase:


void ref()

void unref() const

void unrefNoDelete() const

void touch()

virtual SoType getTypeId() const

SbBool isOfType(SoType type) const

virtual void setName(const SbName &name)

virtual SbName getName() const

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.


SoMFRotation rotation

Rotation to be decomposed.



(SoMFVec3f) axis

Axis of rotation derived from the input.



(SoMFFloat) angle

Angle (in radians) derived from the input.



SoDecomposeRotation()

Constructor


DecomposeRotation {

rotation 0 0 1 0
}

SoDecomposeRotationFromTo, SoComposeRotation, SoEngineOutput