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¶
Field Index¶
elapsedTime : Float |
progress : Float |
Generate Edges : Bool |
Result Mode : Enum |
id : Integer |
shouldComputeNormals : Bool |
isProcessing : Bool |
triangulationMode : Enum |
listenToFinishNotifications : Bool |
Which Output : Enum |
listenToRepaintNotifications : Bool |
workDirectlyOnInputWEMs : Bool |
listenToSelectionChangedNotifications : Bool |
|
Plane : Plane |
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. |