| genre | CSOModule |
| status | stable |
| author | Alexander Koehn |
| package | MeVisLab/Standard |
| dll | MLCSOModules |
| definition | MLCSOModules.def |
| see also | CSOManager |
| keywords | CSO, contour |
The module CSOMerge merges two input CSOLists by some criteria and generates a copy as an output list.
Adjust the merge criteria to your needs and either perform the merging manually or let the merging be performed at certain notifications.
The module can be used in two ways:
When two lists are merged the ids of the CSOs and groups must be changed obviously. To keep track of the correspondence, the module provides a couple of fields which contain a comma separated list of id mappings. These mappings exist for CSOs and CSOGroups for the first and the second input CSOLists. Each entry specifies two ids, separated by a colon, whereas the first id is the source id, i.e. the id from the input list.
To merge two lists just connect them and press update if the Mode is not set to Auto Update. If auto update is enabled one can specify the notifications on which an update is triggered.
If one list should be updated or expanded by another, the output of the CSOMerge module has to be connected to this module's first input using a CSOManager which does not directly work on the input CSOList. Then the output CSOList gets expanded by the second one on each update.
If certain output CSO should be updated, i.e. CSOs from the first input, the field Update First List by Second One needs to be set to true. Additionally, a mapping of CSO ids (CSO Id Mapping) has to be specified. For each source CSO that should update a destination CSO, the respective ids have to be entered, separated by a colon. Multiple id pairs are separated by commas.
| Auto Apply: Bool | Listen To Finishing (listenToFinishingGroupNotifications): Bool | Update: Trigger |
| Clone first CSO list: Bool | Listen To Moved: Bool | Update First List by Second One: Bool |
| CSO Id Mapping: String | Listen To Selection Changes (listenToSelectionCSOChangedNotifications): Bool | |
| done: Trigger | Listen To Selection Changes (listenToSelectionGroupChangedNotifications): Bool | |
| First CSO Ids: String | Merge Groups With The Same Label: Bool | |
| First Group Ids: String | Mode: Enum | |
| isProcessing: Bool | Second CSO Ids: String | |
| Listen To Finishing (listenToFinishingCSONotifications): Bool | Second Group Ids: String |
Defines the update mode of this module. This is how it reacts to changes of the input CSOLists and to notification of those CSOLists.
Values:
| Title | Name | Description |
|---|---|---|
| Off | Off | Do not react on changes or notifications. |
| Auto Update | AutoUpdate | Merge anew if any input CSOList (field) changes. |
If checked, the module computes anew if any field on the module's GUI is changed.
If checked, the first CSO list gets cloned before being merged with the second one. This is helpful if you need to preserve the CSO ids of the first list.
Shows the mapping information about the CSOs of the first input list. I.e. which output CSO corresponds to which input CSO.
Shows the mapping information about the CSOGroups of the first input list.
Shows the mapping information about the CSOs of the second input list. I.e. which output CSO corresponds to which input CSO.
Shows the mapping information about the CSOGroups of the second input list.
If checked, only groups with the same label are merged.
If checked, the mapping specified in CSO Id Mapping is used to update CSOs from the first input list by CSOs from the second input list.
Sets a comma separated list of id mappings. One specifies the id of a CSO from the second list and then, separated by a colon, the id of a CSO from the first list. The later one will be replaced by the former.
If checked, the modules updates when input CSOs send the finish notification.
If checked, the module updates when input CSOGroups send the finish notification.
If checked, the module updates when input CSOs send the selection changed notification.