extract_cell_component


Synopsis

extract one cell_data component from each Cell_Data cell_set

Input Ports

in_field

Mesh+Cell_Data

ui_parent

user interface parent object

 

Parameters

Cell Data

UIradioBoxLabel

select cell data component

 

Output Ports

out_fld

Mesh+Cell_Data

out_obj

output renderable object

 

Description

extract_cell_component extracts one cell_data component from each Cell_Data cell_set. If there are multiple Cell_Data cell_sets, the same component is extracted from each cell_set. extrract_cell_component is the cell data equivalent of extract_component for node data.

Since the renderer draws just the first component it finds in each cell_set, you use extract_cell_component to obtain the right component from a multi-component Cell_Data field.

Input Ports

in_field

The input is a field with a Mesh and Cell_Data.

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

Cell Data

UIradioBoxLabel. A series of radio buttons to pick which single component to extract. If there are multiple Cell_Data cell_sets, the same component is extracted from each cell_set. If labels are present, they are displayed.

Output

out_fld

The output is a reference to a merged object that contains the new Cell_Data, plus references to all other unchanged objects in the input Mesh.

out_obj

This is a renderable version of the output field.

Files

v/modules.v

Example

Libraries.Examples.Visualization.Cell_Data
examples/celld.v

See also