Composes a rotation from axis and angle values. More...
#include <Inventor/engines/SoCompose.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoComposeRotation () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoMFVec3f | axis |
SoMFFloat | angle |
SoEngineOutput | rotation |
Composes a rotation from axis and angle values.
This engine has two inputs, representing an axis of rotation and a rotation angle 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.
axis | 0 0 1 |
angle | 0 |
SoComposeRotationFromTo, SoDecomposeRotation, SoEngineOutput
SoComposeRotation::SoComposeRotation | ( | ) |
Default Constructor.
static SoType SoComposeRotation::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoEngine.
virtual SoType SoComposeRotation::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Implements SoTypedObject.
Angle of rotation.
Axis of rotation.
( SoMFRotation ) Rotation field, defined by the inputs.