Class SoComposeRotation
- 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.SoComposeRotation
-
- All Implemented Interfaces:
SafeDisposable
public class SoComposeRotation extends SoEngine
Composes a rotation from axis and angle values. This engine has two inputs, representing an axis of rotation and a rotationangle
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/default:
ComposeRotation {
axis 0 0 1 angle 0 - See Also:
SoComposeRotationFromTo
,SoDecomposeRotation
,SoEngineOutput
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
Fields Modifier and Type Field Description SoMFFloat
angle
Angle of rotation.SoMFVec3f
axis
Axis of rotation.SoEngineOutput
rotation
(SoMFRotation
) Rotation field, defined by the inputs.-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SoComposeRotation()
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
-
axis
public final SoMFVec3f axis
Axis of rotation.
-
angle
public final SoMFFloat angle
Angle of rotation.
-
rotation
public final SoEngineOutput rotation
(SoMFRotation
) Rotation field, defined by the inputs.
-
-