Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
SegmentEditorEffects.SegmentEditorLogicalEffect.SegmentEditorLogicalEffect Class Reference
Inheritance diagram for SegmentEditorEffects.SegmentEditorLogicalEffect.SegmentEditorLogicalEffect:
Collaboration diagram for SegmentEditorEffects.SegmentEditorLogicalEffect.SegmentEditorLogicalEffect:

Public Member Functions

 __init__ (self, scriptedEffect)
 
 clone (self)
 
 createCursor (self, widget)
 
 getInvertedBinaryLabelmap (self, modifierLabelmap)
 
 helpText (self)
 
 icon (self)
 
 modifierSegmentID (self)
 
 onApply (self)
 
 setMRMLDefaults (self)
 
 setupOptionsFrame (self)
 
 updateGUIFromMRML (self)
 
 updateMRMLFromGUI (self)
 
- Public Member Functions inherited from SegmentEditorEffects.AbstractScriptedSegmentEditorEffect.AbstractScriptedSegmentEditorEffect
 __init__ (self, scriptedEffect)
 
 cleanup (self)
 
 rasToXy (self, ras, viewWidget)
 
 register (self)
 
 setWidgetMinMaxStepFromImageSpacing (self, spinbox, imageData)
 
 xyToIjk (self, xy, viewWidget, image, parentTransformNode=None)
 
 xyToRas (self, xy, viewWidget)
 
 xyzToIjk (self, xyz, viewWidget, image, parentTransformNode=None)
 
 xyzToRas (self, xyz, viewWidget)
 

Public Attributes

 applyButton = qt.QPushButton(_("Apply"))
 
 bypassMaskingCheckBox = qt.QCheckBox(_("Bypass masking"))
 
 marginSizeMmLabel = self.scriptedEffect.addLabeledOptionsWidget(_("Operation:"), operationFrame)
 
 methodSelectorComboBox = qt.QComboBox()
 
 modifierSegmentSelector = slicer.qMRMLSegmentsTableView()
 
 modifierSegmentSelectorLabel = qt.QLabel(_("Modifier segment:"))
 
 onApply
 
list operationsRequireModifierSegment = [LOGICAL_COPY, LOGICAL_UNION, LOGICAL_SUBTRACT, LOGICAL_INTERSECT]
 
 updateMRMLFromGUI
 
- Public Attributes inherited from SegmentEditorEffects.AbstractScriptedSegmentEditorEffect.AbstractScriptedSegmentEditorEffect
 scriptedEffect = scriptedEffect
 

Detailed Description

LogicalEffect is an MorphologyEffect to erode a layer of pixels from a segment

Definition at line 13 of file SegmentEditorLogicalEffect.py.

Constructor & Destructor Documentation

◆ __init__()

SegmentEditorEffects.SegmentEditorLogicalEffect.SegmentEditorLogicalEffect.__init__ ( self,
scriptedEffect )

Definition at line 16 of file SegmentEditorLogicalEffect.py.

Member Function Documentation

◆ clone()

SegmentEditorEffects.SegmentEditorLogicalEffect.SegmentEditorLogicalEffect.clone ( self)

Definition at line 22 of file SegmentEditorLogicalEffect.py.

◆ createCursor()

SegmentEditorEffects.SegmentEditorLogicalEffect.SegmentEditorLogicalEffect.createCursor ( self,
widget )

Definition at line 93 of file SegmentEditorLogicalEffect.py.

◆ getInvertedBinaryLabelmap()

SegmentEditorEffects.SegmentEditorLogicalEffect.SegmentEditorLogicalEffect.getInvertedBinaryLabelmap ( self,
modifierLabelmap )

Definition at line 166 of file SegmentEditorLogicalEffect.py.

◆ helpText()

SegmentEditorEffects.SegmentEditorLogicalEffect.SegmentEditorLogicalEffect.helpText ( self)

Definition at line 35 of file SegmentEditorLogicalEffect.py.

◆ icon()

SegmentEditorEffects.SegmentEditorLogicalEffect.SegmentEditorLogicalEffect.icon ( self)

Definition at line 29 of file SegmentEditorLogicalEffect.py.

◆ modifierSegmentID()

SegmentEditorEffects.SegmentEditorLogicalEffect.SegmentEditorLogicalEffect.modifierSegmentID ( self)

Definition at line 102 of file SegmentEditorLogicalEffect.py.

◆ onApply()

SegmentEditorEffects.SegmentEditorLogicalEffect.SegmentEditorLogicalEffect.onApply ( self)

Definition at line 185 of file SegmentEditorLogicalEffect.py.

◆ setMRMLDefaults()

SegmentEditorEffects.SegmentEditorLogicalEffect.SegmentEditorLogicalEffect.setMRMLDefaults ( self)

Definition at line 97 of file SegmentEditorLogicalEffect.py.

◆ setupOptionsFrame()

SegmentEditorEffects.SegmentEditorLogicalEffect.SegmentEditorLogicalEffect.setupOptionsFrame ( self)

Definition at line 50 of file SegmentEditorLogicalEffect.py.

◆ updateGUIFromMRML()

SegmentEditorEffects.SegmentEditorLogicalEffect.SegmentEditorLogicalEffect.updateGUIFromMRML ( self)

Definition at line 114 of file SegmentEditorLogicalEffect.py.

◆ updateMRMLFromGUI()

SegmentEditorEffects.SegmentEditorLogicalEffect.SegmentEditorLogicalEffect.updateMRMLFromGUI ( self)

Definition at line 155 of file SegmentEditorLogicalEffect.py.

Member Data Documentation

◆ applyButton

SegmentEditorEffects.SegmentEditorLogicalEffect.SegmentEditorLogicalEffect.applyButton = qt.QPushButton(_("Apply"))

Definition at line 65 of file SegmentEditorLogicalEffect.py.

◆ bypassMaskingCheckBox

SegmentEditorEffects.SegmentEditorLogicalEffect.SegmentEditorLogicalEffect.bypassMaskingCheckBox = qt.QCheckBox(_("Bypass masking"))

Definition at line 61 of file SegmentEditorLogicalEffect.py.

◆ marginSizeMmLabel

SegmentEditorEffects.SegmentEditorLogicalEffect.SegmentEditorLogicalEffect.marginSizeMmLabel = self.scriptedEffect.addLabeledOptionsWidget(_("Operation:"), operationFrame)

Definition at line 72 of file SegmentEditorLogicalEffect.py.

◆ methodSelectorComboBox

SegmentEditorEffects.SegmentEditorLogicalEffect.SegmentEditorLogicalEffect.methodSelectorComboBox = qt.QComboBox()

Definition at line 51 of file SegmentEditorLogicalEffect.py.

◆ modifierSegmentSelector

SegmentEditorEffects.SegmentEditorLogicalEffect.SegmentEditorLogicalEffect.modifierSegmentSelector = slicer.qMRMLSegmentsTableView()

Definition at line 77 of file SegmentEditorLogicalEffect.py.

◆ modifierSegmentSelectorLabel

SegmentEditorEffects.SegmentEditorLogicalEffect.SegmentEditorLogicalEffect.modifierSegmentSelectorLabel = qt.QLabel(_("Modifier segment:"))

Definition at line 74 of file SegmentEditorLogicalEffect.py.

◆ onApply

SegmentEditorEffects.SegmentEditorLogicalEffect.SegmentEditorLogicalEffect.onApply

Definition at line 88 of file SegmentEditorLogicalEffect.py.

◆ operationsRequireModifierSegment

list SegmentEditorEffects.SegmentEditorLogicalEffect.SegmentEditorLogicalEffect.operationsRequireModifierSegment = [LOGICAL_COPY, LOGICAL_UNION, LOGICAL_SUBTRACT, LOGICAL_INTERSECT]

Definition at line 19 of file SegmentEditorLogicalEffect.py.

◆ updateMRMLFromGUI

SegmentEditorEffects.SegmentEditorLogicalEffect.SegmentEditorLogicalEffect.updateMRMLFromGUI

Definition at line 89 of file SegmentEditorLogicalEffect.py.


The documentation for this class was generated from the following file: