Class SoDecomposeMatrix

  • All Implemented Interfaces:
    SafeDisposable

    public class SoDecomposeMatrix
    extends SoEngine
    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
    • Constructor Detail

      • SoDecomposeMatrix

        public SoDecomposeMatrix()
        Default Constructor.