Fline2D
Synopsis
create a line mesh moveable in two dimensions scaled to an input field
Input Port
in
|
field with a 2D mesh
|
ui_parent
|
user interface parent object
|
Parameters
x-dimension
|
slider
|
change the line's x dimensions
|
Transformation Editor
|
XformEditor
|
transform and scale the line in 2D space
|
Output Port
out_fld
|
Mesh representing the line
|
out_obj
|
output renderable object
|
Description
FLine2D generates a line of variable length. This line can only be transformed in two dimensions. It will be located at the center of the input field's Y extents, and will be X extents long. The line is useful as a sampling or slicing object input to macros such as streamlines, advector, and cut.
Input
in
ui_parent
A port mean to be connected to a user interface object that will contain 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-dimension
An integer slider to adjust the line's X dimension. The default is 8, the range is 2 to 100.
Transformation Editor
An XformEditor that controls the position, orientation, and scale of the object in 2D space.
Output Port
out_fld
The output consists of a Line_Mesh whose coordinates are the endpoints of the line.
out_obj
This is a renderable version of the output field.
Example
Not available
File
v/geoms.v
See also related modules