

For example, coordinate values of model points are updated with the transformed coordinates, or a warped image voxels are resampled. “Hardening a transform” means permanently modify the node according to the currently applied transform. This transform tree is displayed in Data module’s Transform hierarchy tab. Parent transform can be set for transform nodes, thereby creating a hierarchy (tree) of transforms. Method C: In Transforms module’s “Apply transform” section move nodes from the Transformable list to the Transformed list by selecting them and click the arrow button between them. Method B: In Data module’s Transform hierarchy tab, drag the nodes under a transform. The transform can be interactively edited in 3D views by right-click on “Transform” column and choosing “Interaction in 3D view”. Method A: In Data module’s Subject hierarchy tab, right-click on the “Transform” column and choose a transform (or “Create new transform”). If the transform is removed then original (non-transformed) state of the node is restored.Ī transform can be applied to a node in multiple ways: If the parent transform is changed then the position or shape of the node is automatically updated. “Applying a transform” means setting parent transform to a node to translate, rotate, and/or warp it.

In some modules, node selectors only accept a certain transform node type, therefore it may be necessary to create that expected transform type, but in the long term it is expected that all modules will accept the general “Transform” node type. Now a transform node can contain any transformation type (linear, grid, bspline, thin-plate spline, or even composite transformation - an arbitrary sequence of any transformations), therefore transform node types only differ in their name. Multiple transform node types exist because earlier Slicer could only store a simple transformation in a node.

In other cases, it is recommended to create the general “Transform” node.
#Transform rotate how to#
How to choose transform type: Create “Linear transform” if you only work with linear transforms, because certain modules only allow you to select this node type as input. Method C: In Transforms module click on “Active transform” node selector and choose one of the “Create new…” options. Advantage of this method is that it is easy to build and overview hierarchy of transforms. This always creates a “Linear transform”. Method B: In Data module’s Transform hierarchy tab, right-click on an item and choose “Insert transform”. This always creates a general “Transform”. Method A: In Data module’s Subject hierarchy tab, right-click on the “Transform” column and choose “Create new transform”. Transform node can be created in multiple ways: Thin-plate splines: displacements specified at arbitrarily placed points, with thin-plate spline interpolationĬomposite transforms: any combinations of the transforms above, in any order, any of them optionally inverted Grid transform: dense displacement field, with trilinear interpolation specified by a 4x4 homogeneous transformation matrixī-spline transform: displacement field specified at regular grid points, with b-spline interpolation Linear transform: rigid, scaling, shearing, affine, etc. See a summary of main features demonstrated in this video. Transformations are stored in transform nodes and define position, orientation, and warping in the world coordinate system or relative to other nodes, such as volumes, models, markups, or other transform nodes. This module is used for creating, editing, and visualization of spatial transformations.
