Skip to content

Apply Transformation to Geometry

Group (Subgroup)

DREAM3D Review (Rotation/Transformation)

Description

This Filter applies a spatial transformation to an unstructured Geometry. An "unstructured" Geometry is any geometry that requires explicit definition of Vertex positions. Specifically, Vertex, Edge, Triangle, Quadrilateral, and Tetrahedral Geometries may be transformed by this Filter. The transformation is applied in place, so the input Geometry will be modified.

The user may select from a variety of options for the type of transformation to apply:

Transformation Type Representation
No Transformation Identity transformation
Pre-Computed Transformation Matrix A 4x4 transformation matrix, supplied by an Attribute Array in row major order
Manual Transformation Matrix Manually entered 4x4 transformation matrix
Rotation Rotation about the supplied axis-angle
Translation Translation by the supplied (x, y, z) values
Scale Scaling by the supplied (x, y, z) values

Parameters

Name Type Description
Transformation Type Enumeration Type of transformation to be used
Transformation Matrix float (4x4) Entries of the 4x4 transformation matrix, if Manual is chosen for the Transformation Type
Rotation Angle (Degrees) float Rotation angle, if Rotation is chosen for the Transformation Type
Rotation Axis (ijk) float (3x) Rotation axis, if Rotation is chosen for the Transformation Type
Translation float (3x) (x, y, z) translation values, if Translation is chosen for the Transformation Type
Scale float (3x) (x, y, z) scale values, if Scale is chosen for the Transformation Type

Required Geometry

Any unstructured Geometry

Required Objects

Kind Default Name Type Component Dimensions Description
Data Container None N/A N/A The Data Container holding the unstructured Geometry to transform
Attribute Array TransformationMatrix float (2, 4) The pre-computed transformation matrix to apply, if Pre-Computed is chosen for the Transformation Type

Created Objects

None

Example Pipelines

Please see the description file distributed with this plugin.

DREAM3D Mailing Lists

If you need more help with a filter, please consider asking your question on the DREAM3D Users mailing list: