Open Inventor Reference
SoComposeMatrix Class Reference

Matrix composition engine. More...

#include <Inventor/engines/SoCompose.h>

Inheritance diagram for SoComposeMatrix:
SoEngine SoFieldContainer SoBase

List of all members.

Public Attributes

Inputs
SoMFVec3f translation
 Translation in x, y, and z.
SoMFRotation rotation
 Rotation.
SoMFVec3f scaleFactor
 Scale factors in x, y, and z.
SoMFRotation scaleOrientation
 Rotational space for scaling.
SoMFVec3f center
 Center point for scaling and rotating.
Outputs
SoEngineOutput matrix
 Transformation matrix that transforms from object space into the space specified by the inputs.

Detailed Description

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.

File Format/Default
ComposeMatrix {
  translation 0 0 0
  rotation 0 0 1  0
  scaleFactor 1 1 1
  scaleOrientation 0 0 1  0
  center 0 0 0
}
See Also
SoDecomposeMatrix, SoEngineOutput

Definition at line 632 of file SoCompose.h.


Member Data Documentation

Definition at line 651 of file SoCompose.h.


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