IsoSurface¶
- MacroModule¶
genre
author
package
definition
see also
keywords
Purpose¶
The module IsoSurface generates a WEM-based iso surface.
The macro has an Open Inventor output and an additional WEM output. The latter can be used for tuning the rendering in a more sophisticated way, while the first one suffices in the most cases.
A LUT can be applied that takes an effect on the Open Inventor output if the according coloring mode is chosen.
Details¶
The macro comprises a WEMIsoSurface a WEMSmooth and a SoWEMRenderer module in this order in a pipeline.
An additional WEMReducePolygons module is used if the Polygon Reduction option is checked.
Windows¶
Default Panel¶
Input Fields¶
inImage¶
- name: inImage, type: Image¶
inLUT¶
- name: inLUT, type: LUTFunction(MLBase)¶
Output Fields¶
outScene¶
- name: outScene, type: SoNode¶
outWEM¶
- name: outWEM, type: WEM(MLBase)¶
For accessing this object via scripting, see the Scripting Reference:
MLWEMWrapper.
Parameter Fields¶
Field Index¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Visible Fields¶
Iso Value¶
- name: isoValue, type: Double, default: 400¶
Sets the iso-value.
A WEM face is generated between a pair of voxels where one voxel’s value is greater than or equal to this value, and the other voxel’s value is less.
Resolution¶
- name: quality, type: Integer, default: 3, minimum: 1, maximum: 12¶
Sets the resolution value. This value is the stride size with which the image voxels are scanned.
Use Interpolation¶
- name: useInterpolation, type: Bool, default: TRUE¶
If checked, a linear interpolation of the generated node positions is applied based on the image values.
Use Smoothing¶
- name: useSmoothing, type: Bool, default: FALSE¶
If checked, the generated surface is smoothed by using a Laplacian smoothing.
Num. Passes¶
- name: smoothingPasses, type: Integer, default: 5, minimum: 0, maximum: 200¶
Sets the number of Laplacian smoothing passes.
Factor¶
- name: smoothingFactor, type: Float, default: 0.2, minimum: 0, maximum: 1¶
Sets the smoothing factor for the Laplacian smoothing.
Use reduction¶
- name: usePolygonReduction, type: Bool, default: FALSE¶
If checked, the generated surface mesh is reduced in the number of triangles.
This is done by a remeshing scheme that attempts to leave the overall geometry and shape as close to the original as possible.
Target Reduction¶
- name: targetReduction, type: Integer, default: 70, minimum: 10, maximum: 98¶
Sets the percentage of target triangles for the reduction.
The default of 70 means that the resulting mesh consists of only 70% of the original triangles.