| genre | Coordinate |
| status | stable |
| author | Tobias Boskamp |
| package | MeVisLab/Standard |
| dll | MLCoordUtils1 |
| definition | MLCoordUtils1.def |
| see also | ComposeVector, DecomposeVector, ComposeMatrix, DecomposeMatrix, ComposePlane, VecBoxConvert |
| keywords | Rotation, composition, engine, axis, angle |
The module ComposeRotation simplifies the specification of rotation parameters when the rotation is composed of multiple rotations about different axes.
The module computes the rotation resulting from the composition of two individual rotations or their inverses. The resulting rotation can be inverted as well.
Enter the input rotations in the Rotation 1 and Rotation 2 fields. Check the Invert or Invert boxes if you want to invert the input rotations before computing the composition.
Check the Invert Result field if you want to invert the resulting rotation. For changes in a rotation field to become effective, the corresponding Apply button has to be pressed.
A rotation is represented by the rotation axis as a normalized vector in the x, y and z component of a rotation field, and the rotation angle in radiants in the d component.
Rotations are normalized by mapping the angle into the interval [0, 2*pi) and normalizing the axis vector.
| Invert (invert1): Bool |
| Invert (invert2): Bool |
| Invert Result: Bool |
| Result: Rotation |
| Rotation 1: Rotation |
| Rotation 2: Rotation |
If checked, the Rotation 1 is internally inverted.
If checked, the Rotation 2 is internally inverted.