Class SoComposeRotationFromTo
- 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.SoComposeRotationFromTo
-
- All Implemented Interfaces:
SafeDisposable
public class SoComposeRotationFromTo extends SoEngine
Composes a rotation that rotates from one vector into another. This engine takes two inputs, representing a vector before and after a rotation has been applied. As output, it produces the rotation value that would cause the first vector to transform into the other.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:
ComposeRotationFromTo {
from 0 0 1 to 0 0 1 - See Also:
SoComposeRotation
,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 SoMFVec3f
from
Vector before the rotation.SoEngineOutput
rotation
(SoMFRotation
) A rotation that transforms one vector into another.SoMFVec3f
to
Vector after the rotation.-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SoComposeRotationFromTo()
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
-
from
public final SoMFVec3f from
Vector before the rotation.
-
to
public final SoMFVec3f to
Vector after the rotation.
-
rotation
public final SoEngineOutput rotation
(SoMFRotation
) A rotation that transforms one vector into another.
-
-