WEMClipPlaneToWEM

MLModule
genre WEMProcessing
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll MLWEMModules
definition MLWEMModules.def
inherits from WEMProcessor

Purpose

The module WEMClipPlaneToWEM clips a WEM with a given Plane and generates the resulting clipped WEM (either above or below the plane).

Input Fields

inWEM

name: inWEM, type: WEM(MLBase)

The input WEM.

For accessing this object via scripting see the Scripting Reference: MLWEMWrapper.

Output Fields

outWEM

name: outWEM, type: WEM(MLBase)

The output WEM.

For accessing this object via scripting see the Scripting Reference: MLWEMWrapper.

Parameter Fields

Visible Fields

Plane

name: plane, type: Plane, default: 0 0 1 0

Defines the plane (in world coordinates) that is used for clipping with the WEM.

Generate Edges

name: generateEdges, type: Bool, default: TRUE

If enabled, edge connectivity is generated.

Result Mode

name: resultMode, type: Enum, default: RemainderOnly, deprecated name: closeIntersection

Defines what the module puts out as a result.

Values:

Title Name Deprecated Name Description
Remainder Only RemainderOnly FALSE The module returns only the clipped WEM patch which is an open surface.
Remainder With Cover RemainderWithCover TRUE The module returns a closed clipped WEM patch. In the rendering, there might be shading artifacts which can be reduced by using a crease angle in SoWEMRenderer.
Cover Only CoverOnly   The module returns only the cover.
Remainder And Cover In Separate Patches RemainderAndCoverInSeparatePatches  

The module returns the clipped WEM and the cover as separate patches.

This looks good because the cover has no rendering artifacts. But this result might not be not useful for further processing because it is no single surface anymore, nodes of the cover and the clipped WEM (the remainder) are doubled.

Which Output

name: whichOutput, type: Enum, default: PositiveSide

Selects which part of the clipped WEM is shown.

Values:

Title Name Description
Positive Side PositiveSide Outputs the WEM that lies on the positive side of the plane.
Negative Side NegativeSide Outputs the WEM that lies on the negative side of the plane.

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