CSOPrimitiveProcessor¶
-
MLModule
¶ genre CSOProcessor
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoCSO
definition SoCSODeprecatedModules.def see also SoCSOEllipseEditor
,SoCSORectangleEditor
,SoCSOPointEditor
keywords contour
,ellipse
,rectangle
,segmentation
,interactive
Purpose¶
The module CSOPrimitiveProcessor
allows for a generating and editing of elliptical and rectangular contours.
Usage¶
Attach the module’s output to the inProcessor input of a SoView2DCSOEditor
.
Details¶
If a primitive (ellipse or rectangle) is generated, four seed points are available in each case which always lie directly on the contours. If any of those seed points is dragged, the other three seed points are moved automatically according to the chosen creation scheme.
The parameter Primitive Type
influences the appearance of a newly generated CSO. If, for example, a rectangular contour is already generated, and this parameter is turned to Ellipse, the first generated rectangle stays a rectangle even if it is edited with this module being in a different mode.
Output Fields¶
outProcessorData¶
-
name:
outProcessorData
, type:
CSOProcessorData(MLBase)
¶ None. The output is used to establish a connection between this module and a
SoView2DCSOEditor
module.
Parameter Fields¶
Field Index¶
addCSOToGroupMode : Enum |
Isotropic primitives : Bool |
addCSOToGroupWithId : Integer |
Primitive Type : Enum |
apply : Trigger |
updateMode : Enum |
autoApply : Bool |
|
done : Trigger |
|
emptyGroupBeforeGeneration : Bool |
|
From center : Bool |
|
Is Processing : Bool |
Visible Fields¶
Is Processing¶
-
name:
isProcessing
, type:
Bool
, persistent:
no
¶ Shows whether the module is processing which is when the user interacts.
Primitive Type¶
-
name:
primitiveType
, type:
Enum
, default:
Rectangle
¶ Defines the primitive type of a newly generated CSO.
Values:
Title | Name | Description |
---|---|---|
Rectangle | Rectangle | Rectangle or a square. |
Ellipse | Ellipse | Ellipse or circle. |