TOC PREV NEXT INDEX

solid_contour

Synopsis

Creates multiple 2D or 3D solid contours and, optionally, overlays them with isolines.

Input Port

in_field Mesh+Node_Data

ui_parent user interface parent object

Parameters

contour component

UIradioBox

number of contours

UIslider

min level

UIslider

max level

UIslider

contour lines

Utoggle

color lines

Utoggle

Output Port

out_fld

Mesh+Node_Data

out_obj

DefaultObject out_field_line Field

out_obj_line

DataObject

Description

The solid_contour module produces a set of solid (filled) contour regions and, optionally, overlays them with isolines. The module computes the contour regions as uniformly spaced values, based on the values of the number of contours, min level, and max level parameters.

If the input mesh is 2D, the output is similar to contour lines, with the region between a given set of lines filled with a color that represents the value of that contour. The cells in the output field are subdivisions of the input cells, cut by the contour lines.

If the input mesh is 3D, the output is a set of 3D cells that fill the regions between adjacent isosurfaces, with the cells in a particular region filled with a color that represents the value of that contour. The cells in the output field are typically subdivisions of the input cells, cut by the contour lines.

The data value in a given output cell is the average of the values of the two contour lines or surfaces that bound that region.

If the contour lines parameter is turned on, solid_contour also produces isolines that overlay the contour regions. In addition, if color lines is turned on, the isolines are colored to match the contour region that they overlay.

Note: The solid_contour module does not generate vertex normals by default. For more details, see Vertex normal generation.

Input

in_field

A 2D or 3D mesh plus node data to contour. A 2D mesh produces output is similar to contour lines, with the region between a given set of lines filled with a color that represents the value of that contour, and cells in the output field that are subdivisions of the input cells, cut by the contour lines. A 3D mesh produces a set of 3D cells that fill the regions between adjacent isosurfaces, with the cells in a particular region filled with a color that represents the value of that contour, and cells in the output field that are typically subdivisions of the input cells, cut by the contour lines.

ui_parent

A port to connect to a user interface object that contains the module's widgets. By default, it is connected to the default user interface object in the application in which the module is instanced. (This default connection is not drawn.)

Parameters

contour component

The specific component of the input field to contour. The default is the first (0th) component.

number of contours

The number of contour regions to produce.

min level
max level

The minimum and maximum isoline/isosurface values between which to extract data. The module extracts from the selected contour component all data values in this range. The default is_0.0.
The data type of the UIslider used to set these values is converted automatically to the data type of the node data.

contour lines

A UItoggle with which to specify whether to create isolines. The default is OFF.

color lines

A Utoggle with which to specify whether to color isolines. The default is OFF. This parameter is relevant only if the contour lines is ON.

Output Port

out_fld

A mesh plus node data that contains the solid contour regions. This mesh has the same dimensionality as the input.

out_obj

A renderable object version of the solid contour regions.

out_field_line

A field that contains the overlying isolines, if created.

out_obj_line

A renderable object version of the overlying isolines, if created.

Example

Not available

File

v/modules.v

See also related modules

contour
contour_texture

TOC PREV NEXT INDEX