genre | CSOModule |
author | Olaf Konrad |
package | MeVisLab/Standard |
dll | MLCSO |
definition | MLCSO.def |
see also | SoView2DCSOEditor, CSOFilter |
keywords | contour, segmentation, attributes, default, notification, selection, grouping |
The module CSOManager allows for the setting of parameters and default parameters for CSOs and CSOGroups, as well as for the maintaining the togetherness of CSOs and CSOGroups in a CSOList.
In general, there will be one CSOManager module per network, and this manager module holds a single CSOList object.
In a network, the CSOManager holds the CSOList object and all other modules are attached to its outCSOList output field.
However, a CSOLoad module may be attached to the manager's inCSOList input field, or even another CSOManager may be attached to the module's input; in the latter case, it is most likely that the module's Work directly on input CSOList field is checked so that the original CSOList is held in the CSOManager below, while the according manager is only used as a scripting interface for adding CSOGroups or adjusting parameters for existing items. Have a look at the example network for more details.
The module's interface features two list views, one for all CSOs (and their associated CSOGroups), the other for all CSOGroups (and their associated CSOs). Beside these list views, the parameters for the currently selected CSOs and CSOGroups can be viewed an altered. Additionally, the default parameters for CSOs and CSOGroups can be adjusted and the notification and the selection behavior can be fine tuned.
Although CSOGroups have no visual counterpart, visual parameters can be set for them. Their use is optional, and if they are used, they overwrite the visual parameters of all contained CSOs. Since a CSO can be in multiple CSOGroups, the parameters of the first CSOGroup that was set are taken.
The module offers the performing of undo and redo operations as well as a limiting of the depth of the undo/redo stack. If the stack depth is changed to a smaller size while it is filled, the first excessive commands are removed.
The input CSOList which is either copied or being worked directly on, depending on Work directly on input CSOList.
If checked, the module creates no internal CSOList object, but works on a pointer to a CSOList that is provided by the module's input.
If pressed, all CSOs and CSOGroups (without selecting any) are being removed.
If pressed, the currently selected CSOs are being deleted.
If pressed, the currently selected CSOGroups are being deleted.
Defines how the selected CSOs should be colored.
Values:
Title | Name | Description |
---|---|---|
Brighten | SelectionColorModeBrighten | Selected CSOs are brightened by the Brighten:, but maintain their general color. |
Fixed | SelectionColorModeFixed | Selected CSOs are rendered in the color set by Fixed:. |
Defines how the line width of selected CSOs is changed.
Values:
Title | Name | Description |
---|---|---|
Widen | SelectionLineWidthWiden | Selected CSOs are rendered in a relative line width to their original width, altered by Widen:. |
Fixed | SelectionLineWidthFixed | Selected CSOs are rendered with an absolute line width, set by Fixed:. |
Sets an offset to the brightness of the color of selected CSOs.
Sets an absolute color of selected CSOs.
Sets an offset line width for selected CSOs.
Sets an absolute line width of selected CSOs.
Defines how the selected seed point should be colored.
Values:
Title | Name |
---|---|
Brighten | SelectedSeedPointColorModeBrighten |
Fixed | SelectedSeedPointColorModeFixed |
Defines how the size of selected seed points is changed.
Values:
Title | Name |
---|---|
Enlarge | SelectedSeedPointSizeModeEnlarge |
Fixed | SelectedSeedPointSizeModeFixed |
Sets an offset to the brightness of the color of the selected seed point.
Sets an absolute color of the selected seed point.
Sets an enlargement size for the selected seed point.
Sets an absolute size for the selected seed point.
Shows the unique id of the (first) selected CSO. Can not be modified.
Shows and sets the label of the (first) selected CSO.
Shows and sets the description of the (first) selected CSO.
Shows the timepoint index of the (first) selected CSO.
If checked, the (first) selected CSO is shown by SoCSO3DVis and SoView2DCSOEditor.
If checked, the (first) selected CSO is voxelized by CSOConvertToImage or CSOConvertTo3DMask.
If checked, the (first) selected CSO can be edited by a processor attached to the SoView2DCSOEditor or the editor itself.
Sets the line width of the (first) selected CSO.
Defines the line style of the (first) selected CSO.
Values:
Title | Name | Description |
---|---|---|
None | LineStyleNone | The CSO' path points are not drawn. |
Solid | LineStyleSolid | The CSO is drawn as a solid line. |
Dashed | LineStyleDashed | The CSO is drawn as a dashed line. |
Dotted | LineStyleDotted | The CSO is drawn as a dotted line. |
Short Dashed | LineStyleShortDashed | The CSO is drawn as a short dashed line (this is somewhat between dashed and dotted). |
Sets the color of the (first) selected CSO.
Sets the alpha value of the (first) selected CSO.
Defines the style of the seed points.
Values:
Title | Name | Description |
---|---|---|
None | MarkerModeNone | No marker is shown at a seed point location. |
Rect | MarkerModeRect | Rectangular markers are shown at the seed point locations. |
Circle | MarkerModeCircle | Circular markers are shown at the seed point locations. |
Sets the color of the markers representing the CSO's seed points.
Sets the alpha of the markers representing the CSO's seed points.
Sets the size of the markers representing the CSO's seed points.
Defines the voxel write mode of the (first) selected CSO.
This mode sets how the voxel value is determined when converting the CSO into a voxel mask by either CSOConvertToImage or CSOConvertTo3DMask.
Values:
Title | Name | Description |
---|---|---|
Id | VoxelWriteModeId | The target voxels have the id of the CSO as a value. |
Const | VoxelWriteModeConst | The target voxels have a constant set by Value as a value. |
Const Plus Id | VoxelWriteModeConstPlusId | The target voxels have their id added to the Value as a value. |
Module | VoxelWriteModeModule | The converting module sets the target voxels' values. |
Sets the voxel value of target voxels.
Sets the default label for newly generated CSOs.
If checked, a unique ID is added to the next generated CSO's label.
The unique ID can be formatted by Id String Format.
Sets the format of the appended unique ID.
If checked, a unique ID is added even to the first label.
Sets the description string for newly generated CSOs.
Sets the show state for newly generated CSOs.
Sets the voxelization state of newly generated CSOs.
Sets the edit state of newly generated CSOs.
Shows the id of the (first) selected CSOGroup.
Shows and sets the label of the (first) selected CSOGroup.
Shows and sets the description string of the (first) selected CSOGroup.
If checked, the CSOGroup overwrites the timepoint index of all contained CSOs.
Sets the timepoint index of the (first) selected CSOGroups.
If checked, the CSOGroup overwrites the show state of all contained CSOs.
Sets the show state of the (first) selected CSOGroups.
Sets the voxelization state of the (first) selected CSOGroup.
If checked, the CSOGroup overwrites the voxelize state of all contained CSOs.
If checked, the CSOGroup overwrites the editable state of all contained CSOs.
Sets the editable state of the (first) selected CSOGroup.
If checked, the CSOGroup overwrites the path point style of all contained CSOs.
Defines the line style of the (first) selected CSOGroup.
Values:
Title | Name | Description |
---|---|---|
None | LineStyleNone | The CSO' path points are not drawn. |
Solid | LineStyleSolid | The CSOs are drawn as solid lines. |
Dashed | LineStyleDashed | The CSOs are drawn as dashed lines. |
Dotted | LineStyleDotted | The CSOs are drawn as dotted lines. |
Short Dashed | LineStyleShortDashed | The CSOs are drawn as short dashed lines (this is somewhat between dashed and dotted). |
If checked, the CSOGroup overwrites the path point width of all contained CSOs.
Sets the line width of the (first) selected CSOGroups.
If checked, the CSOGroup overwrites the path point color of all contained CSOs.
Sets the color of the (first) selected CSOGroups.
If checked, the CSOGroup overwrites the path point alpha value of all contained CSOs.
Sets the alpha value of the (first) selected CSOGroups.
If checked, the CSOGroup overwrites the seed point style of all contained CSOs.
Defines the seed point style of all contained CSOs.
Values:
Title | Name |
---|---|
None | MarkerModeNone |
Rect | MarkerModeRect |
Circle | MarkerModeCircle |
If checked, the CSOGroup overwrites the seed point size of all contained CSOs.
Sets the size of the markers representing the seed points of the (first) selected CSOGroup.
If checked, the CSOGroup overwrites the seed point color of all contained CSOs.
Sets the color of the markers representing the seed points of the (first) selected CSOGroup.
If checked, the CSOGroup overwrites the seed point alpha of all contained CSOs.
Sets the alpha value of the markers representing the seed points of the (first) selected CSOGroup.
If checked, the CSOGroup overwrites the voxel write mode of all contained CSOs.
Definess the voxelization mode of the (first) selected CSOGroup.
Values:
Title | Name |
---|---|
Id | VoxelWriteModeId |
Const | VoxelWriteModeConst |
Const Plus Id | VoxelWriteModeConstPlusId |
Module | VoxelWriteModeModule |
If checked, the CSOGroup overwrites the voxel write value of all contained CSOs.
Sets the voxel write value of the (first) selected CSOGroup.
Sets the maximum number of CSOs that can be in a group before the Overflow Handling is applied.
A value of 0 means no limit in the number of CSOs.
Defines how the CSOGroup should handle the situation when a CSO is added so that the Maximum CSOs is reached.
Values:
Title | Name | Description |
---|---|---|
Remove First | RemoveFirst | Remove the first CSO. |
Remove Last | RemoveLast | Remove the last CSO. |
Remove All | RemoveAll | Remove all previous CSOs. |
Ignore New | IgnoreNew | Ignore the new CSO and do not add it to the group. |
Defines how a CSO is handled if removed from a CSOGroup.
Values:
Title | Name | Description |
---|---|---|
Always | RemoveAlways | A CSO is being removed from the CSOList if it is removed from a CSOGroup. |
Never | RemoveNever | A CSO is left in the CSOList if removed from a CSOGroup. |
If In No Group | RemoveIfInNoGroup | A CSO is removed from the CSOList if it is no CSOGroup after being removed from a CSOGroup. |
Defines how a CSOGroup is handled after CSOs have been removed from it.
Values:
Title | Name | Description |
---|---|---|
Always | RemoveAlways | The CSOGroup is removed whenever a CSO is being removed from the CSOGroup. |
Never | RemoveNever | The CSOGroup is left in the CSOList even if a CSO has been removed from it. |
If In No Group | RemoveIfInNoGroup | The CSOGroup is removed from the CSOList if no CSOs are left in it. |
Sets the default label for newly generated CSOGroups.
If checked, a unique ID is added to the next generated CSOGroup's label.
The unique ID can be formatted by Id String Format.
Sets the format of the appended unique ID.
If checked, a unique ID is added even to the first label.
Sets the default description string of newly generated CSOGroups.
If checked, newly generated CSOGroups will overwrite the show state of contained CSOs.
Sets the default show state for newly generated CSOGroups.
If checked, newly generated CSOGroups will overwrited the voxelize state of contained CSOs.
Sets the default voxelize state for newly generated CSOGroups.
If checked, newly generated CSOGroups will overwrited the editable state of contained CSOs.
Sets the default editable state for newly generated CSOGroups.
If checked, newly generated CSOGroups will overwrited the path point style of contained CSOs.
Defines the default line style of newly generated CSOGroups.
Values:
Title | Name |
---|---|
None | LineStyleNone |
Solid | LineStyleSolid |
Dashed | LineStyleDashed |
Dotted | LineStyleDotted |
Short Dashed | LineStyleShortDashed |
If checked, newly generated CSOGroups will overwrited the path point width of contained CSOs.
Sets the default line width for newly generated CSOGroups.
If checked, newly generated CSOGroups will overwrited the path point color of contained CSOs.
Sets the default color for newly generated CSOGroups.
If checked, newly generated CSOGroups will overwrited the path point alpha of contained CSOs.
Set the default alpha value for newly generated CSOGroups.
If checked, newly generated CSOGroups will overwrited the seed point style of contained CSOs.
Defines the seed point style of all new created, contained CSO.
Values:
Title | Name |
---|---|
None | MarkerModeNone |
Rect | MarkerModeRect |
Circle | MarkerModeCircle |
If checked, newly generated CSOGroups will overwrited the seed point size of contained CSOs.
If checked, newly generated CSOGroups will overwrited the marker size of contained CSOs.
If checked, newly generated CSOGroups will overwrited the seed point color of contained CSOs.
If checked, newly generated CSOGroups will overwrited the marker color of contained CSOs.
If checked, newly generated CSOGroups will overwrited the seed point alpha of contained CSOs.
If checked, newly generated CSOGroups will overwrited the marker alpha value of contained CSOs.
If checked, newly generated CSOGroups will overwrited the voxel write mode of contained CSOs.
Defines the voxel write mode of newly generated CSOGroups.
Values:
Title | Name |
---|---|
Id | VoxelWriteModeId |
Const | VoxelWriteModeConst |
Const Plus Id | VoxelWriteModeConstPlusId |
Module | VoxelWriteModeModule |
If checked, newly generated CSOGroups will overwrited the voxel write value of contained CSOs.
Sets the voxel write value of contained CSOs.
Sets the default maximum number of CSOs for newly generated CSOGroups.
Defines the default overflow handling of newly generated CSOGroups.
Values:
Title | Name |
---|---|
Remove First | RemoveFirst |
Remove Last | RemoveLast |
Remove All | RemoveAll |
Ignore New | IgnoreNew |
Defines the default removal handling of newly generated CSOGroups.
Values:
Title | Name |
---|---|
Always | RemoveAlways |
Never | RemoveNever |
If In No Group | RemoveIfInNoGroup |
If checked, undo/redo functionality is enabled for the CSOList. Undo/Redo is implemented for adding, removing and modifying CSOs, as well as for combining and breaking CSOs with CSOGroups.
Attribute changes can not be undone by the undo-manager.
Sets the limit of the undo/redo stack.
If the undo/redo stack is full and the stack size decreased, the first actions are removed from the stack.
If checked, the CSOList is able to fire and react to selections of CSOs.
If checked, the CSOList is able to fire and react to selections of CSOGroups.
If checked, the CSOList is able to fire and react to finishing of CSOs (e.g., adding, removing a CSO).
If checked, the CSOList is able to fire and react to finishing of CSOGroups (e.g., adding or removing a CSOGroup).
If checked, the CSOList is able to fire and react to finished moving of CSOs.
If checked, the CSOList is able to fire and react to repaint notifications (e.g., finishing operations and modifications).
If checked, the CSOList is able to fire and react to interaction intialization notifications (e.g., deleting of a CSO or a single seed point).
If checked, the CSOList is able to fire and react to starting notifications (e.g., start drawing of a new CSO).
If checked, the CSOList is able to fire and react to selections of CSOs.
This field is triggered from inside the module whenever the CSOList receives a selection notification.
This field is triggered from inside the module whenever the CSOList receives a selection notification.
This field is triggered from inside the module whenever the CSOList receives a finished notification.
This field is triggered from inside the module whenever the CSOList receives a moved notification.
This field is triggered from inside the module whenever the CSOList receives a repaint notification.
This field is triggered from inside the module whenever the CSOList receives a interaction initialization notification.
This field is triggered from inside the module whenever the CSOList receives a start new CSO notification.
If checked, the selection notifications are enabled for the CSOList.
If checked, the finished notifications are enabled for the CSOList.
If checked, the moved notifications are enabled for the CSOList.
If checked, the repaint notifications are enabled for the CSOList.
If pressed, a selection notification is sent to the CSOList.
If pressed, a finished notification is sent to the CSOList.