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.

Windows

Default Panel

../../../Modules/ML/MLWEMModules/mhelp/Images/Screenshots/WEMComposePatches._default.png

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 and Description.

see also WEMGenerator.overwriteLabelDescription

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

Triangulate Patches

name: triangulatePatches, type: Bool, default: FALSE

If checked, the output WEM will be triangulated.

Add

name: add, type: Trigger

If pressed, the input WEM is added to the output WEM.

Status

name: status, type: String, persistent: no

Shows the status of the module.

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

updateMode

name: updateMode, type: Enum, default: Off, deprecated name: autoUpdate

see WEMGenerator.updateMode

apply

name: apply, type: Trigger

see WEMGenerator.apply

shouldComputeNormals

name: shouldComputeNormals, type: Bool, default: TRUE

see WEMGenerator.shouldComputeNormals

inWEMValid

name: inWEMValid, type: Bool, default: FALSE