![]() |
![]() |
![]() |
![]() |
solid_contour
Synopsis
Creates multiple 2D or 3D solid contours and, optionally, overlays them with isolines.
Input Port
Parameters
Output Port
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
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.
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
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.
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
A mesh plus node data that contains the solid contour regions. This mesh has the same dimensionality as the input.
Example
File
See also related modules
![]() |
![]() |
![]() |
![]() |