Decomposes transformation matrices into values for translation, rotation, and scale. More...
#include <Inventor/engines/SoCompose.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoDecomposeMatrix () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoMFMatrix | matrix |
SoMFVec3f | center |
SoEngineOutput | translation |
SoEngineOutput | rotation |
SoEngineOutput | scaleFactor |
SoEngineOutput | scaleOrientation |
Decomposes transformation matrices into values for translation, rotation, and scale.
This engine takes as input a transformation matrix and a center of transformation. As output the engine produces the translation, rotation and scale values derived from the matrix.
The input fields can have multiple values, allowing the engine to decompose several matrices in parallel. One of the inputs may have more values than the other. In that case, the last value of the shorter input will be repeated as necessary.
matrix | 1 0 0 0 |
0 1 0 0 | |
0 0 1 0 | |
0 0 0 1 | |
center | 0 0 0 |
SoComposeMatrix, SoEngineOutput
SoDecomposeMatrix::SoDecomposeMatrix | ( | ) |
Default Constructor.
static SoType SoDecomposeMatrix::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoEngine.
virtual SoType SoDecomposeMatrix::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Implements SoTypedObject.
The center of transformations.
The 4x4 transformation matrix.
( SoMFRotation ) Derived rotation.
( SoMFVec3f ) Derived scale values in x, y, and z.
( SoMFRotation ) Derived rotational space for scaling.
( SoMFVec3f ) Derived translation in x, y, and z.