TOC PREV NEXT INDEX

extract_component

Synopsis

extract a single data component from a field

Input Port

in_field

Mesh + Node_Data

ui_parent

ser interface parent object

Parameters

data component

UIradioBoxLabel

select data component

Output Port

out_fld

Mesh + Node Data

out_obj

output renderable object

Description

extract_component extracts a single data component from any Node_Data. For example, selecting the fourth component of the field (a, b, c, [e, f, g]) results in the single-component vector field ([e, f, g]).

Input

in_field

The input field must contain any mesh and Node_Data objects.

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

data component

UIradioBoxLabel. Radio buttons to pick which data component to send to the output field. The default is the first (0th) selection. If node data labels are present, they are displayed.

Output Port

out_field

The output contains a reference to the original mesh, with new Node_Data consisting of a reference to the single extracted component in the input Node_Data. Effectively, you have "extracted" a reference to one component of the input Node_Data.

out_obj

This is a renderable version of the output field.

Example

Libraries.Examples.Applications.IsoApp

File

v/modules.v

See also related modules

combine_comp
combine_vect
extract_scalar

TOC PREV NEXT INDEX