WEMComposePatches¶
-
MLModule
¶ genre WEMProcessing
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll MLWEMModules
definition MLWEMModules.def see also WEMDemergePatches
inherits from WEMGenerator
keywords merge
Purpose¶
The module WEMMDSComposePatches
composes WEM patches into one new WEM.
Usage¶
Connect a WEM to the input field and click Add
. Each time Add
is clicked, the WEM connected to the input is added to the output WEM.
Hitting the Clear
button clears the output WEM (removes all patches).
Details¶
This module composes a new WEM from the WEMs / WEMPatches connected to its input.
Each time the Add
button is clicked, all patches from the WEM connected to the input are added to the output WEM (even if the input WEM did not change) - given that a valid WEM is connected, of course.
The input WEM is not altered.
If the Auto add
option is checked, each time a new WEM is connected to the input, all patches form this WEM are automatically added to the output WEM.
Hitting the Clear
button removes all patches from the output WEM.
Input Fields¶
inWEM¶
-
name:
inWEM
, type:
WEM(MLBase)
¶ The WEM that should be added to the output WEM.
For accessing this object via scripting see the Scripting Reference:MLWEMWrapper
.
Output Fields¶
outWEM¶
-
name:
outWEM
, type:
WEM(MLBase)
¶ The culmination of all input WEMs.
For accessing this object via scripting see the Scripting Reference:MLWEMWrapper
.
Parameter Fields¶
Field Index¶
Add : Trigger |
isProcessing : Bool |
apply : Trigger |
Label : String |
Auto add : Bool |
Overwrite label and description : Bool |
Clear : Trigger |
shouldComputeNormals : Bool |
Description : String |
Status : String |
elapsedTime : Float |
Triangulate Patches : Bool |
id : Integer |
updateMode : Enum |
inWEMValid : Bool |
Visible Fields¶
Auto add¶
-
name:
autoApply
, type:
Bool
, default:
FALSE
¶ If checked, the input WEM is added to the output WEM if the input changes.
see also WEMGenerator.autoApply
Clear¶
-
name:
clear
, type:
Trigger
¶ If pressed, the output WEM is cleared (set back to 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