WEMLevelSetBoolean¶
-
MLModule
¶ author MeVis Medical Solutions AG
package MeVisLab/Standard
dll MLOpenVDB
definition MLOpenVDB.def inherits from WEMLevelSetFilterBase
keywords difference
,intersection
,union
Purpose¶
The WEMLevelSetBoolean
module allows to do boolean operations on WEM meshes using a discrete level set representation.
It makes use of the OpenVDB (http://www.openvdb.org/) library.
Note: For good results, it is important to select an adequate Grid Cell Size
, otherwise the
resolution of the grid can either be too high or to low to generate good results. If the meshes have been generated by
e.g. WEMIsoSurface
, the grid size should be close to the smallest voxel size of the dataset.
Typically you should turn auto-update off, since the module will calculate the output too often when both meshes change, which is a typical scenario.
Parameter Fields¶
Field Index¶
Adaptivity : Double |
Grid Cell Size : Double |
Mode : Enum |
Apply : Trigger |
id : Integer |
Overwrite label and description : Bool |
Auto Apply : Bool |
Interpolate per node PVLs : Bool |
progress : Float |
Build Edges : Bool |
isProcessing : Bool |
shouldComputeNormals : Bool |
Clear : Trigger |
Label : String |
triangulationMode : Enum |
Description : String |
listenToFinishNotifications : Bool |
Update Mode : Enum |
elapsedTime : Float |
listenToRepaintNotifications : Bool |
workDirectlyOnInputWEMs : Bool |
Enable PVL support : Bool |
listenToSelectionChangedNotifications : Bool |
Visible Fields¶
Grid Cell Size¶
-
name:
gridCellSize
, type:
Double
, default:
1
¶ Defines the level set grid size in millimeters. This parameter is important and needs to match the resolution of the input WEMs to produce good results.
see also WEMLevelSetFilterBase.gridCellSize
Adaptivity¶
-
name:
adaptivity
, type:
Double
, default:
0.2
¶ Defines the adaptivity of the resulting mesh. Adaptivity == 0 means that all triangles are created at the highest resolution, while adaptivity == 1 reduces the mesh to the maximum that is supported by OpenVDB.
see also WEMLevelSetFilterBase.adaptivity
Build Edges¶
-
name:
buildEdges
, type:
Bool
, default:
TRUE
¶ Enables building of the edge connectivity of WEM.
see also WEMLevelSetFilterBase.buildEdges