explode_fields
Synopsis
explode individual transformations of each field in the input array of fields
Input Port
in_fields
|
Mesh[]
|
ui_parent
|
user interface parent object
|
Parameters
Output Port
out_fld
|
Mesh[]
|
out_obj
|
DefaultObject
|
Description
explode_fields takes each input field in the input array and translates it away from the common center of all the fields, which is computed by finding the midpoint of the bounding box. You can set the amount of translation via parameters. The grid and data for the input fields are not modified, only their transformation matrices.
Input
in_fields
Mesh[]. An array of fields to transform.
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
x-scale
UIslider. A value specifying how much to scale the translation away from the center in the X direction. This value is in units of the bounding box of the original array of fields.
y-scale
UIslider. A value specifying how much to scale the translation away from the center in the Y direction. This value is in units of the bounding box of the original array of fields.
z-scale
UIslider. A value specifying how much to scale the translation away from the center in the Z direction. This value is in units of the bounding box of the original array of fields.
Output Port
out_fld
Mesh[]. The transformed input fields.
out_obj
Renderable object corresponding to out_fld.
Example
Libraries.Examples.Visualization.Explode_Fields
v/dv_examp/explode.v
File
v/modules.v
See also related modules