Class SoDecomposeRotation
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.misc.SoBase
-
- com.openinventor.inventor.fields.SoFieldContainer
-
- com.openinventor.inventor.engines.SoEngine
-
- com.openinventor.inventor.engines.SoDecomposeRotation
-
- All Implemented Interfaces:
SafeDisposable
public class SoDecomposeRotation extends SoEngine
Decomposes rotation values. 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/default:
DecomposeRotation {
rotation 0 0 1 0 - See Also:
SoComposeRotation
,SoEngineOutput
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
Fields Modifier and Type Field Description SoEngineOutput
angle
(SoMFFloat
) Angle (in radians) derived from the input.SoEngineOutput
axis
(SoMFVec3f
) Axis of rotation derived from the input.SoMFRotation
rotation
Rotation to be decomposed.-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SoDecomposeRotation()
Default Constructor.
-
Method Summary
-
Methods inherited from class com.openinventor.inventor.engines.SoEngine
copy, getByName, getOutput, getOutputName
-
Methods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
-
Methods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable, touch
-
Methods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
-
-
-
Field Detail
-
rotation
public final SoMFRotation rotation
Rotation to be decomposed.
-
axis
public final SoEngineOutput axis
(SoMFVec3f
) Axis of rotation derived from the input.
-
angle
public final SoEngineOutput angle
(SoMFFloat
) Angle (in radians) derived from the input.
-
-