Transform

Node Icon

An affine transform is a linear transform that moves, rotates, scales and shears an object in a coordinate system. The transform has twelve parameters; the translation in the x, y and z directions; a 3D rotation which can be represented by three parameters in a number of different ways; the scaling in the x, y, and z directions; and the shear in the x, y, and z directions.

Outputs

T(x)

Resulting transform.

Type: Struct

Settings

Configure

Extrapolation Value Number

The default voxel value for voxels outside the Frame of Reference.

New Frame of Reference Boolean

The Frame of Reference describes the position, orientation, matrix size, and voxel size, of the transformed input.

Initial Transform Boolean

Add an initial transform to the output.

Rotation

Rotational Representation Selection

Select input rotation representation.

Rotation Axis and Angle describes a rotation around an axis defined by a vector. The input vector does not have to be normalized. This is the default representation.

Rotation Matrix describes the rotation as a 3x3 orthogonal matrix. The rotation matrix must have a determinant of 1.

Euler Angles describes intrinsic rotation around three principal axes X, Y, Z, which can be described as yaw, pitch, and roll. Intrinsic rotation means that the rotations occur about the axes of a coordinate system that is attached to the moving body. The order in which the rotations are applied is important. Two options are available: ZXY and ZYX.

Values: Rotation Axis and Angle, Rotation Matrix, Euler Angles (ZXY), Euler Angles (ZYX)

Rotational Axis 3D Vector

The axis of rotation, described as a vector. The input does not have to be normalized.

Rotational Angle [rad] Number

The rotation in radians around the axis of rotation.

Rotation Matrix Array

The matrix must be orthogonal with a determinant of 1.

Euler Angles [rad] Numbers

Set the rotation as described by Euler angles around X, Y and Z.

Center Of Rotation [mm] Numbers

The coordinate around which the rotation is defined.

Parameters

Translation [mm] Numbers

The translation vector of the transform.

Uniform Scale Number

The uniform scaling of the transform.

Scale Numbers

The scaling parameters in the x, y, and z directions.

Shear Numbers

The shear parameters in the x, y, and z directions.

See also

Keywords: