cell_data_math


Synopsis

perform arbitrary math operations on cell-based data

Input Ports

in_field1

Mesh+Cell_Data

in_field2

Mesh+Cell_Data

in_field3

Mesh+Cell_Data

in_field4

Mesh+Cell_Data

ui_parent

user interface parent object

 

Output Ports

out_fld

Mesh+Cell_Data

out_obj

output renderable object

 

Description

cell_data_math performs arbitrary math operations on up to four cell-based datasets. You can use any operation or expression that can be specified in the V language to operate on the data. The expression you enter may use #1, #2, #3, and #4 to stand for the four input fields.

Input Ports

in_field1

Mesh+Cell_Data. Input to math expression. Use "#1" in the expression to refer to this field.

in_field2

Mesh+Cell_Data. Input to math expression. Use "#2" in the expression to refer to this field.

in_field3

Mesh+Cell_Data. Input to math expression. Use "#3" in the expression to refer to this field.

in_field4

Mesh+Cell_Data. Input to math expression. Use "#4" in the expression to refer to this field.

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

(no widget text)

UItext. Math expression to perform on the cell data of the inputs. All V language expressions are valid; use #1 through #4 to refer to the input fields. For example, the expression sqrt(#1 * 10 + sin(#2/#3)) computes a function of the first three inputs.

Output Ports

out_fld

Mesh+Cell_Data. Contains the result of applying the given expression to the input field(s).

out_obj

Renderable object. Renderable version of out_fld.

Example

Not available.

File

v/modules.v

See also