transform_field

image\transformfieldmod.jpg

General Module Function

The transform_field module is used to translate, rotate or scale the coordinates any field. Uses for this module would be to rotate and translate a modflow or mt3d grid (having a grid origin of 0,0,0) to the actual coordinate system of the modeled area.

Module Input Ports

transform_field has only one input port which accepts a structured or unstructured mesh. There can be several data components, either vector or scalar, in the data field.

Module Output Ports

transform_field has two output ports. The first output port (closest to the left) outputs the same connectivity data as the input mesh with only the coordinate values adjusted to reflect the new translated coordinate information. The second output port sends a renderable object to the viewer.

image\transformfieldpanel.jpg

Module Control Panel

The control panel for transform_field is shown in the figure above.

The first item is a slider for specifying the Number of Transformations to be performed. This can range from 1 to 12. A separate panel is provided for each transformation. The example above shows three. The content of each panel depends on the type of transformation selected. The above example shows all three types.

Translate:

Type-ins are available for adjusting the, Y, and Z translations. The default for each of these edit fields is 0.0 and the available range is unrestricted.

Rotate:

A radio-button selector allows you to choose the axis for the rotation.

A type-in allows you to specify the angle of rotation in degrees.

Type-ins are available for adjusting the, Y, and Z center for the rotation. The default for each of these edit fields is the centroid of the input and the available range is unrestricted.

Scale:

Type-ins are available for adjusting the, Y, and Z scaling factors. The default for each of these edit fields is 1.0 and the available range is unrestricted.

 

Related Modules

->Rotate

© 1994-2018 ctech.com