Arbitrary_Slicer


Synopsis

This module extracts a 2D (1D) field from a 3D(2D) field. The data to be extracted is determined by a slice plane positioned arbitrarily.

Input Ports

in_field

Mesh[+Node_Data][+Cell_Data]

ui_parent

user interface parent object

 

Parameters

bounds on/off

UItoggle

display bounding lines of slicing plane

Plane Tansform Editor

UItoggle

display the transform editor for the slicing plane

plane distance

UIslider

moves slicing plane parallel to itself

map components

UIoptionBoxLabel

node data components to output

map cell components

UIoptionBoxLabel

cell data components to output

 

Output Ports

out_fld

Mesh [+ Node_Data]

out_plane

Mesh_Unif

out_obj_slice

output renderable object of slice

out_obj_plane

output renderable object of slicing plane

 

Description

Arbitrary_Slicer extracts a 2D field corresponding to a slice plane with an arbitrary position and direction from a given 3D field data. If the input is a 2D field data , then a 1D field is extracted. The slice plane is displayed using its bounding lines.

Input Ports

in_field

Mesh. The field to slice, which can be any 3D or 2D mesh.

ui_parent

A port to connect to a user interface object that contains the macro's widgets. By default, it is connected to the default user interface object in the application in which the macro is instanced. (This default connection is not drawn.)

Parameters

bounds on/off

UItoggle. If this parameter is turned on, the slice plane is displayed in terms of its bounding lines.

Plane Transform Editor

UItoggle. If this parameter is turned on, a panel for transforming the slice plane is displayed.

plane distance

UIslider. This parameter determines the distance by which the slice plane is moved in a parallel direction from the position set using the plane editor. During this operation, the bounding box of the slice plane does not move. Furthermore, all operations done using the Plane Transform Editor apply to the position of the plane before this movement (to the position of the bounding box).

the first dimension. Jmin/Jmax draw a mesh or face showing the 2D slice of field objects with the minimum/maximum index in the second dimension. Kmin/Kmax control the third dimension. The default for all is off.

map components

UIoptionBoxLabel. Option buttons to pick which components of in_field's node data to map to the output field. The default is the first (0th) component. If node data labels are present, they are displayed.

map cell data

UIoptionBoxLabel. Option buttons to pick which components of in_field's cell data to map to the output field. The default is the first (0th) component. If cell data labels are present, they are displayed.

Output Ports

out_fld

The output field contains a new, subsetted 2D (or 1D) mesh and a new node and/or cell data.

out_plane

Plane_Mesh. A 2D mesh representing the plane used to do the slicing.

out_obj_slice

The renderable object corresponding to out_fld.

out_obj_plane

The renderable object corresponding to the slice plane's bounding box.