WEMComposePatches¶
-
MLModule¶ genre WEMProcessingauthor MeVis Medical Solutions AGpackage MeVisLab/Standarddll MLWEMModulesdefinition MLWEMModules.def see also WEMDemergePatchesinherits from WEMGeneratorkeywords merge
Purpose¶
The module WEMComposePatches 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.
Pressing 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 has not changed) — provided that a valid WEM is connected.
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 from this WEM are automatically added to the output WEM.
Pressing 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¶ When 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
LabelandDescription.
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