Composes a transformation matrix. More...
#include <Inventor/engines/SoCompose.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoComposeMatrix () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoMFVec3f | translation |
SoMFRotation | rotation |
SoMFVec3f | scaleFactor |
SoMFRotation | scaleOrientation |
SoMFVec3f | center |
SoEngineOutput | matrix |
Composes a transformation matrix.
This engine has inputs that specify values for translation, rotation, scale, and center of transformation. As output, it produces a transformation matrix that transforms objects into the space specified by the scale, rotation, and translation inputs (in that order).
The input fields can have multiple values, allowing the engine to compose several matrices 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.
translation | 0 0 0 |
rotation | 0 0 1 0 |
scaleFactor | 1 1 1 |
scaleOrientation | 0 0 1 0 |
center | 0 0 0 |
SoDecomposeMatrix, SoEngineOutput
SoComposeMatrix::SoComposeMatrix | ( | ) |
Default Constructor.
static SoType SoComposeMatrix::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoEngine.
virtual SoType SoComposeMatrix::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Implements SoTypedObject.
Center point for scaling and rotating.
( SoMFMatrix ) Transformation matrix that transforms from object space into the space specified by the inputs.
Rotation.
Scale factors in x, y, and z.
Rotational space for scaling.
Translation in x, y, and z.