Open Inventor Reference
SoDecomposeMatrix Class Reference

Matrix decomposition engine. More...

#include <Inventor/engines/SoCompose.h>

Inheritance diagram for SoDecomposeMatrix:
SoEngine SoFieldContainer SoBase

List of all members.

Public Attributes

Inputs
SoMFMatrix matrix
 The 4x4 transformation matrix.
SoMFVec3f center
 The center of transformations.
Outputs
SoEngineOutput translation
 Derived translation in x, y, and z.
SoEngineOutput rotation
 Derived rotation.
SoEngineOutput scaleFactor
 Derived scale values in x, y, and z.
SoEngineOutput scaleOrientation
 Derived rotational space for scaling.

Detailed Description

Note: a matrix decomposition depends on the choice of center. So a "center" input is provided (with default value 0,0,0) and there is no "center" output.

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.

File Format/Default
DecomposeMatrix {
  matrix 1 0 0 0
        0 1 0 0
        0 0 1 0
        0 0 0 1
  center 0 0 0
}
See Also
SoComposeMatrix, SoEngineOutput

Definition at line 709 of file SoCompose.h.


Member Data Documentation

Definition at line 719 of file SoCompose.h.

Definition at line 716 of file SoCompose.h.


The documentation for this class was generated from the following file: