Composes a rotation that rotates from one vector into another. More...
#include <Inventor/engines/SoCompose.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoComposeRotationFromTo () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoMFVec3f | from |
SoMFVec3f | to |
SoEngineOutput | rotation |
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.
from | 0 0 1 |
to | 0 0 1 |
SoComposeRotation, SoDecomposeRotation, SoEngineOutput
SoComposeRotationFromTo::SoComposeRotationFromTo | ( | ) |
Default Constructor.
static SoType SoComposeRotationFromTo::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoEngine.
virtual SoType SoComposeRotationFromTo::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Implements SoTypedObject.
Vector before the rotation.
( SoMFRotation ) A rotation that transforms one vector into another.
Vector after the rotation.