Purpose

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

The resulting transformation matrix can iteratively altered 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

Adds translation offset to current translation.

Subtract (subTranslation)

name: subTranslation, type: Trigger

Subtracts translation offset to current translation.

Reset (resetTranslation)

name: resetTranslation, type: Trigger

Resets value for current translation.

Translation Offset

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

Sets an offset value for 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

Resets value for current translation.

(1,0,0) (setXTransOffset)

name: setXTransOffset, type: Trigger

Sets translation offset to (1,0,0)

(0,1,0) (setYTransOffset)

name: setYTransOffset, type: Trigger

Sets the translation offset to (0,1,0).

(0,0,1) (setZTransOffset)

name: setZTransOffset, type: Trigger

Sets the translation offset to (0,0,1).

Add (addScale)

name: addScale, type: Trigger

Adds scale offset to current scale.

Subtract (subScale)

name: subScale, type: Trigger

Subtracts scale offset to current scale.

Reset (resetScale)

name: resetScale, type: Trigger

Resets value for current scale.

Scale Offset

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

Sets an offset value for 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

Resets value for current scale.

Add (addRotationAxis)

name: addRotationAxis, type: Trigger

Adds rotation axis offset to current rotation axis.

Subtract (subRotationAxis)

name: subRotationAxis, type: Trigger

Subtracts rotation axis offset to current rotation axis.

Reset (resetRotationAxis)

name: resetRotationAxis, type: Trigger

Resets value for current rotation axis.

Rotation Axis Offset

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

Sets an offset value for 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

Resets value for current rotation axis.

(1,0,0) (setXRotAxisOffset)

name: setXRotAxisOffset, type: Trigger

Sets rotation axis offset axis to (1,0,0).

(0,1,0) (setYRotAxisOffset)

name: setYRotAxisOffset, type: Trigger

Sets rotation axis offset axis to (0,1,0).

(0,0,1) (setZRotAxisOffset)

name: setZRotAxisOffset, type: Trigger

Sets rotation axis offset axis to (0,0,1).

Add (addRotationAngle)

name: addRotationAngle, type: Trigger

Adds rotation angle offset to current rotation angle.

Subtract (subRotationAngle)

name: subRotationAngle, type: Trigger

Subtracts rotation angle offset to current rotation angle.

Reset (resetRotationAngle)

name: resetRotationAngle, type: Trigger

Resets value for current rotation angle.

Rotation Angle Offset

name: rotationAngleOffset, type: Double, default: 10

Sets an offset value for 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

Resets value for 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 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.