WEMThreshold¶
-
MLModule
¶ genre WEMProcessing
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll MLWEMModules
definition MLWEMModules.def see also SoWEMRenderer
inherits from WEMProcessor
keywords surface
,segmentation
Purpose¶
The module WEMThreshold
removes nodes from a WEM with PVL values within a given interval.
With the nodes removed, the attached edges and faces are removed as well.
The module can optionally subdivide faces where one or two nodes were removed.
Input Fields¶
inWEM¶
-
name:
inWEM
, type:
WEM(MLBase)
¶ - For accessing this object via scripting see the Scripting Reference:
MLWEMWrapper
.
Output Fields¶
outWEM¶
-
name:
outWEM
, type:
WEM(MLBase)
¶ - For accessing this object via scripting see the Scripting Reference:
MLWEMWrapper
.
Parameter Fields¶
Field Index¶
Apply : Trigger |
Label : String |
progress : Float |
Auto Apply : Bool |
listenToFinishNotifications : Bool |
PVL : String |
Clear : Trigger |
listenToRepaintNotifications : Bool |
shouldComputeNormals : Bool |
Description : String |
listenToSelectionChangedNotifications : Bool |
triangulationMode : Enum |
elapsedTime : Float |
Lower Threshold : Double |
Update Mode : Enum |
Generate Edges : Bool |
Node Placement : Enum |
Upper Threshold : Double |
id : Integer |
Overwrite label and description : Bool |
workDirectlyOnInputWEMs : Bool |
Inverse Interval : Bool |
primitiveValueLists : String |
|
isProcessing : Bool |
primitiveValueListValid : Bool |
Visible Fields¶
Auto Apply¶
-
name:
autoApply
, type:
Bool
, default:
TRUE
¶ If checked, the module computes anew on any parameter field change.
see also WEMGenerator.autoApply
Update Mode¶
-
name:
updateMode
, type:
Enum
, default:
AutoUpdate
, deprecated name:
autoUpdate
¶ Defines how this module should react on any input field change.
see also WEMGenerator.updateMode
Apply¶
-
name:
apply
, type:
Trigger
¶ If pressed, the module computes anew.
see also WEMGenerator.apply
Clear¶
-
name:
clear
, type:
Trigger
¶ If pressed, the output WEM is cleared (made empty).
see also WEMGenerator.clear
Overwrite label and description¶
-
name:
overwriteLabelDescription
, type:
Bool
, default:
FALSE
¶ If checked, label and description strings are set in the output WEM to
Label
andDescription
.
Label¶
-
name:
label
, type:
String
¶ Sets a label string in the output WEM.
see also WEMGenerator.label
Description¶
-
name:
description
, type:
String
¶ Sets a description string in the output WEM.
see also WEMGenerator.description
Inverse Interval¶
-
name:
inverseInterval
, type:
Bool
, default:
FALSE
¶ If checked, the threshold interval is inverted and nodes with values inside the interval are being removed.
Node Placement¶
-
name:
nodePlacement
, type:
Enum
, default:
LinearInterpolation
¶ Defines how the new nodes are inserted if triangles are clipped.
This also defines how the PVL values of new nodes are interpolated.
Values:
Title | Name | Description |
---|---|---|
Remove Nodes | RemoveNodes | The nodes are completely removed. This also removed adjacent faces and edges. No need to interpolate any PVL value. |
Middle Placement | MiddlePlacement | Places new nodes on an edge into the middle between the original head and tail nodes. The PVL values of new nodes are all copies of the nearest node still inside. |
Linear Interpolation | LinearInterpolation | Places new nodes onto an edge, linearly interpolated by the PVL values of head and tail. The PVL values are all linearly interpolated. |