TransformEdit¶
-
MLModule
¶ genre Coordinate
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll MLMiscModulesInv
definition MLMiscModulesInv.def see also ComposeMatrix
,DecomposeMatrix
keywords translation
,rotation
,angle
,compose
,composition
,manipulate
,matrix
,inverse
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.
Parameter Fields¶
Field Index¶
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.
(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).
Scale Offset¶
-
name:
scaleOffset
, type:
Vector3
, default:
0.1 0.1 0.1
¶ Sets an offset 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.