This modifier applies an affine transformation to the system. It may be used to translate, scale, rotate or shear the particles, the simulation cell and/or other elements. The transformation can either be explicitly specified in terms of a 3 x 3 matrix plus a translation vector, or implicitly by prescribing a target geometry for the simulation cell.
Given the 3 x 3 linear transformation matrix M and the translation vector t, which are both parameters of the modifier, the new position x' for a particle at the original position x is computed as x' = M⋅x + t. This notation uses column vectors.
Thebutton opens a dialog box letting you enter a rotation axis, a rotation angle and a center of rotation. Based on these inputs, OVITO will compute the corresponding affine transformation matrix for you.
This option lets the modifier automatically compute the affine transformation from the current shape of the input simulation cell and the specified target shape. After application of the implicitly determined transformation, the cell will take on the given target size and shape. The contents of the simulation cell (e.g. particles, surface meshes, etc.) will be mapped to the new cell shape accordingly, unless you turn their transformation off (see next section).
Note that you can use the target box option as a way to replace the simulation cell read from the input simulation file(s) with a constant, non-varying simulation cell.
You can select the kinds of elements that should be transformed by the modifier:
Applies the affine transformation to the coordinates of the particles (
|Vector particle properties|
Applies the linear part of the affine transformation to the
Applies the affine transformation to the origin of the simulation cell and the linear part of the transformation to the three cell vectors.
Applies the affine transformation to the vertices of surface meshes.
The option Transform selected elements only restricts the application of the transformation to the currently selected particles.