Purpose

The module TransformEdit composes translation, scaling, and rotation into a transformation matrix.

The resulting transformation matrix can be iteratively modified by consecutively adding one of the transformations.

Windows

Default Panel

../../../Modules/ML/MLMiscModulesInv/mhelp/Images/Screenshots/TransformEdit._default.png

Parameter Fields

Visible Fields

Add (addTranslation)

name: addTranslation, type: Trigger

When pressed, a translation offset is added to the current translation.

Subtract (subTranslation)

name: subTranslation, type: Trigger

When pressed, a translation offset is subtracted from the current translation.

Reset (resetTranslation)

name: resetTranslation, type: Trigger

When pressed, the value for the current translation is reset.

Translation Offset

name: translationOffset, type: Vector3, default: 1 0 0

Sets an offset value for the current translation.

Current Translation

name: currentTranslation, type: Vector3, default: 0 0 0

Shows the current translation.

Default Translation

name: defaultTranslation, type: Vector3, default: 0 0 0

Sets a default value to the current translation.

(1,0,0) (setXTransOffset)

name: setXTransOffset, type: Trigger

When pressed, the translation offset is set to (1, 0, 0).

(0,1,0) (setYTransOffset)

name: setYTransOffset, type: Trigger

When pressed, the translation offset is set to (0, 1, 0).

(0,0,1) (setZTransOffset)

name: setZTransOffset, type: Trigger

When pressed, the translation offset is set to (0, 0, 1).

Add (addScale)

name: addScale, type: Trigger

When pressed, a scale offset is added to the current scale.

Subtract (subScale)

name: subScale, type: Trigger

When pressed, a scale offset is subtracted from the current scale.

Reset (resetScale)

name: resetScale, type: Trigger

When pressed, the value for the current scale is reset.

Scale Offset

name: scaleOffset, type: Vector3, default: 0.1 0.1 0.1

Sets an offset value for the current scale.

Current Scale

name: currentScale, type: Vector3, default: 1 1 1

Shows the current scale.

Default Scale

name: defaultScale, type: Vector3, default: 1 1 1

Sets a default value to the current scale.

Add (addRotationAxis)

name: addRotationAxis, type: Trigger

When pressed, a rotation axis offset is added to the current rotation axis.

Subtract (subRotationAxis)

name: subRotationAxis, type: Trigger

When pressed, a rotation axis offset is subtracted from the current rotation axis.

Reset (resetRotationAxis)

name: resetRotationAxis, type: Trigger

When pressed, the value for the current rotation axis is reset.

Rotation Axis Offset

name: rotationAxisOffset, type: Vector4, default: 1 0 0 10

Sets an offset value for the current rotation axis.

Current Rotation Axis

name: currentRotationAxis, type: Vector3, default: 0 0 1

Shows the current rotation axis.

Default Rotation Axis

name: defaultRotationAxis, type: Vector3, default: 0 0 1

Sets a default value to the current rotation axis.

(1,0,0) (setXRotAxisOffset)

name: setXRotAxisOffset, type: Trigger

When pressed, the rotation axis offset axis is set to (1, 0, 0).

(0,1,0) (setYRotAxisOffset)

name: setYRotAxisOffset, type: Trigger

When pressed, the rotation axis offset axis is set to (0, 1, 0).

(0,0,1) (setZRotAxisOffset)

name: setZRotAxisOffset, type: Trigger

When pressed, the rotation axis offset axis is set to (0,0,1).

Add (addRotationAngle)

name: addRotationAngle, type: Trigger

When pressed, a rotation angle offset is added to the current rotation angle.

Subtract (subRotationAngle)

name: subRotationAngle, type: Trigger

When pressed, a rotation angle offset is subtracted from the current rotation angle.

Reset (resetRotationAngle)

name: resetRotationAngle, type: Trigger

When pressed, the value for the current rotation angle is reset.

Rotation Angle Offset

name: rotationAngleOffset, type: Double, default: 10

Sets an offset value for the current rotation angle.

Current Rotation Angle

name: currentRotationAngle, type: Double, default: 0

Shows the current rotation angle.

Default Rotation Angle

name: defaultRotationAngle, type: Double, default: 0

Sets a default value to the current rotation angle.

Matrix

name: matrix, type: Matrix, default: 1 0 0 0, 0 1 0 0, 0 0 1 0, 0 0 0 1

Shows the matrix that is composed of the transformations.

Transposed Matrix

name: transposedMatrix, type: Matrix, default: 1 0 0 0, 0 1 0 0, 0 0 1 0, 0 0 0 1

Shows the transposed matrix.

Inverse Matrix

name: inverseMatrix, type: Matrix, default: 1 0 0 0, 0 1 0 0, 0 0 1 0, 0 0 0 1

Shows the inverse matrix.

Inverse Transposed Matrix

name: inverseTransposedMatrix, type: Matrix, default: 1 0 0 0, 0 1 0 0, 0 0 1 0, 0 0 0 1

Shows the inverse of transposed matrix.

Transposed Inverse Matrix

name: transposedInverseMatrix, type: Matrix, default: 1 0 0 0, 0 1 0 0, 0 0 1 0, 0 0 0 1

Shows the transposed inverse of matrix.