Open Inventor Reference
|
Matrix composition engine. More...
#include <Inventor/engines/SoCompose.h>
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. |
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.
ComposeMatrix { translation 0 0 0 rotation 0 0 1 0 scaleFactor 1 1 1 scaleOrientation 0 0 1 0 center 0 0 0 }
Definition at line 632 of file SoCompose.h.
Definition at line 651 of file SoCompose.h.
Definition at line 660 of file SoCompose.h.
Definition at line 642 of file SoCompose.h.
Definition at line 645 of file SoCompose.h.
Definition at line 648 of file SoCompose.h.
Definition at line 639 of file SoCompose.h.