Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Member Functions | Public Attributes
SegmentEditorIslandsEffect.SegmentEditorIslandsEffect Class Reference
Inheritance diagram for SegmentEditorIslandsEffect.SegmentEditorIslandsEffect:
Inheritance graph
[legend]
Collaboration diagram for SegmentEditorIslandsEffect.SegmentEditorIslandsEffect:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, scriptedEffect)
 
def clone (self)
 
def currentOperationRequiresSegmentSelection (self)
 
def helpText (self)
 
def icon (self)
 
def onApply (self)
 
def onOperationSelectionChanged (self, operationName, toggle)
 
def processInteractionEvents (self, callerInteractor, eventId, viewWidget)
 
def processViewNodeEvents (self, callerViewNode, eventId, viewWidget)
 
def setMRMLDefaults (self)
 
def setupOptionsFrame (self)
 
def splitSegments (self, minimumSize=0, maxNumberOfSegments=0, split=True)
 
def updateGUIFromMRML (self)
 
def updateMRMLFromGUI (self)
 

Public Attributes

 addSelectedOptionRadioButton
 
 applyButton
 
 keepLargestOptionRadioButton
 
 keepSelectedOptionRadioButton
 
 minimumSizeLabel
 
 minimumSizeSpinBox
 
 operationRadioButtons
 
 removeSelectedOptionRadioButton
 
 removeSmallOptionRadioButton
 
 splitAllOptionRadioButton
 
 widgetToOperationNameMap
 

Detailed Description

Operate on connected components (islands) within a segment

Definition at line 7 of file SegmentEditorIslandsEffect.py.

Constructor & Destructor Documentation

◆ __init__()

def SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.__init__ (   self,
  scriptedEffect 
)

Definition at line 11 of file SegmentEditorIslandsEffect.py.

Member Function Documentation

◆ clone()

def SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.clone (   self)

Definition at line 16 of file SegmentEditorIslandsEffect.py.

◆ currentOperationRequiresSegmentSelection()

def SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.currentOperationRequiresSegmentSelection (   self)

Definition at line 106 of file SegmentEditorIslandsEffect.py.

◆ helpText()

def SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.helpText (   self)

Definition at line 28 of file SegmentEditorIslandsEffect.py.

◆ icon()

def SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.icon (   self)

Definition at line 22 of file SegmentEditorIslandsEffect.py.

◆ onApply()

def SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.onApply (   self)

Definition at line 110 of file SegmentEditorIslandsEffect.py.

◆ onOperationSelectionChanged()

def SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.onOperationSelectionChanged (   self,
  operationName,
  toggle 
)

Definition at line 101 of file SegmentEditorIslandsEffect.py.

◆ processInteractionEvents()

def SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.processInteractionEvents (   self,
  callerInteractor,
  eventId,
  viewWidget 
)

Definition at line 209 of file SegmentEditorIslandsEffect.py.

◆ processViewNodeEvents()

def SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.processViewNodeEvents (   self,
  callerViewNode,
  eventId,
  viewWidget 
)

Definition at line 318 of file SegmentEditorIslandsEffect.py.

◆ setMRMLDefaults()

def SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.setMRMLDefaults (   self)

Definition at line 321 of file SegmentEditorIslandsEffect.py.

◆ setupOptionsFrame()

def SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.setupOptionsFrame (   self)

Definition at line 31 of file SegmentEditorIslandsEffect.py.

◆ splitSegments()

def SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.splitSegments (   self,
  minimumSize = 0,
  maxNumberOfSegments = 0,
  split = True 
)
minimumSize: if 0 then it means that all islands are kept, regardless of size
maxNumberOfSegments: if 0 then it means that all islands are kept, regardless of how many

Definition at line 120 of file SegmentEditorIslandsEffect.py.

◆ updateGUIFromMRML()

def SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.updateGUIFromMRML (   self)

Definition at line 325 of file SegmentEditorIslandsEffect.py.

◆ updateMRMLFromGUI()

def SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.updateMRMLFromGUI (   self)

Definition at line 353 of file SegmentEditorIslandsEffect.py.

Member Data Documentation

◆ addSelectedOptionRadioButton

SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.addSelectedOptionRadioButton

Definition at line 58 of file SegmentEditorIslandsEffect.py.

◆ applyButton

SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.applyButton

Definition at line 89 of file SegmentEditorIslandsEffect.py.

◆ keepLargestOptionRadioButton

SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.keepLargestOptionRadioButton

Definition at line 34 of file SegmentEditorIslandsEffect.py.

◆ keepSelectedOptionRadioButton

SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.keepSelectedOptionRadioButton

Definition at line 40 of file SegmentEditorIslandsEffect.py.

◆ minimumSizeLabel

SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.minimumSizeLabel

Definition at line 87 of file SegmentEditorIslandsEffect.py.

◆ minimumSizeSpinBox

SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.minimumSizeSpinBox

Definition at line 82 of file SegmentEditorIslandsEffect.py.

◆ operationRadioButtons

SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.operationRadioButtons

Definition at line 32 of file SegmentEditorIslandsEffect.py.

◆ removeSelectedOptionRadioButton

SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.removeSelectedOptionRadioButton

Definition at line 52 of file SegmentEditorIslandsEffect.py.

◆ removeSmallOptionRadioButton

SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.removeSmallOptionRadioButton

Definition at line 46 of file SegmentEditorIslandsEffect.py.

◆ splitAllOptionRadioButton

SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.splitAllOptionRadioButton

Definition at line 64 of file SegmentEditorIslandsEffect.py.

◆ widgetToOperationNameMap

SegmentEditorIslandsEffect.SegmentEditorIslandsEffect.widgetToOperationNameMap

Definition at line 14 of file SegmentEditorIslandsEffect.py.


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