WEMLevelSetOffset¶
- MLModule¶
author
package
dll
definition
inherits from
keywords
Purpose¶
The WEMLevelSetOffset module allows for eroding or dilating an existing WEM using a level set/distance transform and remeshing the mesh at a different distance. Since the mesh is recreated on a voxel grid, topological changes and self-intersections pose no problem.
It utilizes the OpenVDB library.
Windows¶
Default Panel¶
Parameter Fields¶
Field Index¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Visible Fields¶
Auto Apply¶
- name: autoApply, type: Bool, default: TRUE¶
Update Mode¶
- name: updateMode, type: Enum, default: AutoUpdate, deprecated name: autoUpdate¶
Apply¶
- name: apply, type: Trigger¶
Clear¶
- name: clear, type: Trigger¶
Overwrite label and description¶
- name: overwriteLabelDescription, type: Bool, default: FALSE¶
Label¶
- name: label, type: String¶
Description¶
- name: description, type: String¶
Grid Cell Size¶
- name: gridCellSize, type: Double, default: 1¶
Sets the level set grid size in millimeters.
This parameter is important and must match the resolution of the input WEMs to produce optimal results.
see also WEMLevelSetFilterBase.gridCellSize
Adaptivity¶
- name: adaptivity, type: Double, default: 0.2¶
Sets the adaptivity of the resulting mesh.
An adaptivity value of 0 means that all triangles are created at the highest resolution, while an adaptivity value of 1 reduces the mesh to the maximum supported by OpenVDB.
see also WEMLevelSetFilterBase.adaptivity
Build Edges¶
- name: buildEdges, type: Bool, default: TRUE¶
Enable PVL support¶
- name: enablePVLSupport, type: Bool, default: FALSE¶
Interpolate per node PVLs¶
- name: interpolatePerNodePVLs, type: Bool, default: FALSE¶
Offset¶
- name: offset, type: Double, default: 1¶
Sets the offset in millimeters by which the mesh is eroded or dilated. Positive values dilate, while negative values erode.