shrink_cells

image\shrinkcellmod.jpg

General Module Function

The shrink_cells module produces a mesh containing disjoint cells which can be optionally shrunk relative to their geometric centers. It creates duplicate nodes for all cells that share the same node, making them disjoint. If the shrink cells toggle is set, the module computes new coordinates for the nodes based on the specified shrink factor (which specifies the scale relative to the geometric centers of each cell). The shrink factor can vary from 0 to 1. A value of 0 produces non-shrunk cells; 1 produces completely collapsed cells (points). This module is useful for separate viewing of cells comprising a mesh.

Module Input Ports

shrink_cells has one input port. Data passed to this port can be any type of mesh.

Module Output Ports

shrink_cells has two output ports. The leftmost output port creates a new mesh that contains disjoint cells shrunk relative to their geometric centers. It also contains a Node_Data and Cell_Data if present in the input mesh. The second output port sends a renderable version of the output field to the viewer.

image\shrinkcellpanel.jpg

Module Control Panel

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

The shrink toggle. If off results in an output mesh which contain disjoint cells with the same coordinates as the input mesh. If set on, the module computes new coordinates for the nodes based on the shrink factor that specifies the scale relative to the geometric centers of each cell. The default is on.

The shrink_factor slider is a float slider to adjust the sizes of the cells. The shrink factor value specifies the scale relative to the geometric centers of each cell. The shrink factor value can vary from 0 to 1, 0 producing non-shrunk cells and 1 producing completely collapsed cells (points). The default is 0.3. The range is 0.0 to 1.0.