SoComposeMatrix

InventorModule
genre InventorEngines
author Silicon Graphics Inc
package MeVisLab/Standard
definition inventor.def

Purpose

The engine SoComposeMatrix 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 Factor, Rotation, and Translation fields (in that order).

Windows

Default Panel

../../../Modules/Inventor/InventorBase/mhelp/Images/Screenshots/SoComposeMatrix._default.png

Parameter Fields

Field Index

Center: Vector3List
Matrix: EngineOutput
Rotation: Vector4List
Scale Factor: Vector3List
Scale Orientation: Vector4List
Translation: Vector3List

Visible Fields

Translation

name: translation, type: Vector3List, default: 0 0 0

Sets the translation in x, y, and z.

Rotation

name: rotation, type: Vector4List, default: 0 0 1 0

Sets the rotation.

Scale Factor

name: scaleFactor, type: Vector3List, default: 1 1 1

Sets the scale factors in x, y, and z.

Scale Orientation

name: scaleOrientation, type: Vector4List, default: 0 0 1 0

Sets the rotational space for scaling.

Center

name: center, type: Vector3List, default: 0 0 0

Sets the center point for scaling and rotating.

Matrix

name: matrix, type: EngineOutput, persistent: no

Outputs the transformation matrix that transforms from object space into the space specified by the fields.

This field must be connected to an appropriate Open Inventor field to access or view its value.