combine_comp
Synopsis
take components from two different fields to make a new n-component field
Input Port
in_field1
|
Node_Data
|
in_field2
|
Node_Data
|
ui_parent
|
user interface parent object
|
Parameters
data components 1
|
UIoptionBoxLabel
|
pick components from first field
|
data components 2
|
UIoptionBoxLabel
|
pick components from second field
|
Output Port
out_fld
|
Node_Data
|
out_obj
|
output renderable object
|
Description
combine_comp takes the selected components from the first input field, and the selected components from the second input field, creating a new output field with n components. The output field's mesh, if present, comes from the first input field. For example, selecting the second components from each of the fields (a,_b,_c) and (d,_[e,_f,_g]) results in the field (b,_[e,_f,_g]).
Input
in_field1
This input field must contain any mesh with Node_Data object. If a mesh is present, it is passed along untouched as a reference in the output field. The field's data components can be scalar or vector.
in_field2
This input field must contain a Node_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
data component 1
data component 2
UIoptionBoxLabel. Select which of the input fields' components to combine. The default for both is the first (0th) component. If node data labels are present, they are displayed.
Output Port
out_fld
The output field is a Node_Data that is an array of references to the two selected Node_Data components. If a mesh was present, the output field contains a reference to that mesh.
out_obj
This is a renderable version of the output field.
Example
Not available
File
v/modules.v
See also related modules