WEMLevelSetOffset

MLModule
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll MLOpenVDB
definition MLOpenVDB.def
inherits from WEMLevelSetFilterBase
keywords erode, dilate

Purpose

The WEMLevelSetOffset module allows to erode or dilate an existing WEM using a level set/distance transform and remeshing the mesh on a different distance. Since the mesh is recreated on a voxel grid, topological changes and self intersections are no problem. It makes use of the OpenVDB (http://www.openvdb.org/) library.

Windows

Default Panel

../../../Projects/MLOpenVDB/MLOpenVDB/Modules/mhelp/Images/Screenshots/WEMLevelSetOffset._default.png

Parameter Fields

Visible Fields

Auto Apply

name: autoApply, type: Bool, default: TRUE

see WEMGenerator.autoApply

Update Mode

name: updateMode, type: Enum, default: AutoUpdate, deprecated name: autoUpdate

see WEMGenerator.updateMode

Apply

name: apply, type: Trigger

see WEMGenerator.apply

Clear

name: clear, type: Trigger

see WEMGenerator.clear

Overwrite label and description

name: overwriteLabelDescription, type: Bool, default: FALSE

see WEMGenerator.overwriteLabelDescription

Label

name: label, type: String

see WEMGenerator.label

Description

name: description, type: String

see WEMGenerator.description

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

see WEMLevelSetFilterBase.buildEdges

Enable PVL support

name: enablePVLSupport, type: Bool, default: FALSE

see WEMLevelSetFilterBase.enablePVLSupport

Interpolate per node PVLs

name: interpolatePerNodePVLs, type: Bool, default: FALSE

see WEMLevelSetFilterBase.interpolatePerNodePVLs

Offset

name: offset, type: Double, default: 1

Defines the offset (in mm) by which the mesh is eroded/dilated. Positive values dilate, negative values erode.

Hidden Fields

isProcessing

name: isProcessing, type: Bool, persistent: no

see WEMGenerator.isProcessing

elapsedTime

name: elapsedTime, type: Float, persistent: no

see WEMGenerator.elapsedTime

id

name: id, type: Integer, default: 0

see WEMGenerator.id

shouldComputeNormals

name: shouldComputeNormals, type: Bool, default: TRUE

see WEMGenerator.shouldComputeNormals

workDirectlyOnInputWEMs

name: workDirectlyOnInputWEMs, type: Bool, default: FALSE

see WEMProcessor.workDirectlyOnInputWEMs

listenToFinishNotifications

name: listenToFinishNotifications, type: Bool, default: TRUE

see WEMProcessor.listenToFinishNotifications

listenToRepaintNotifications

name: listenToRepaintNotifications, type: Bool, default: TRUE

see WEMProcessor.listenToRepaintNotifications

listenToSelectionChangedNotifications

name: listenToSelectionChangedNotifications, type: Bool, default: TRUE

see WEMProcessor.listenToSelectionChangedNotifications

progress

name: progress, type: Float, persistent: no

see WEMProcessor.progress

triangulationMode

name: triangulationMode, type: Enum, default: Strip

see WEMProcessor.triangulationMode