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.SegmentEditorMarginEffect.SegmentEditorMarginEffect Class Reference
Inheritance diagram for SegmentEditorEffects.SegmentEditorMarginEffect.SegmentEditorMarginEffect:
Collaboration diagram for SegmentEditorEffects.SegmentEditorMarginEffect.SegmentEditorMarginEffect:

Public Member Functions

 __init__ (self, scriptedEffect)
 
 clone (self)
 
 createCursor (self, widget)
 
 getMarginSizeMM (self)
 
 getMarginSizePixel (self)
 
 growOperationToggled (self, toggled)
 
 helpText (self)
 
 icon (self)
 
 onApply (self)
 
 processMargin (self)
 
 setMRMLDefaults (self)
 
 setupOptionsFrame (self)
 
 showStatusMessage (self, msg, timeoutMsec=500)
 
 shrinkOperationToggled (self, toggled)
 
 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"))
 
 applyToAllVisibleSegmentsCheckBox = qt.QCheckBox()
 
 applyToAllVisibleSegmentsLabel
 
 growOperationToggled
 
 growOptionRadioButton = qt.QRadioButton(_("Grow"))
 
 marginSizeLabel = qt.QLabel()
 
 marginSizeMMLabel = self.scriptedEffect.addLabeledOptionsWidget(_("Margin size:"), marginSizeFrame)
 
 marginSizeMMSpinBox = slicer.qMRMLSpinBox()
 
 onApply
 
 shrinkOperationToggled
 
 shrinkOptionRadioButton = qt.QRadioButton(_("Shrink"))
 
 updateMRMLFromGUI
 
- Public Attributes inherited from SegmentEditorEffects.AbstractScriptedSegmentEditorEffect.AbstractScriptedSegmentEditorEffect
 scriptedEffect = scriptedEffect
 

Detailed Description

MaringEffect grows or shrinks the segment by a specified margin

Definition at line 14 of file SegmentEditorMarginEffect.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 17 of file SegmentEditorMarginEffect.py.

Member Function Documentation

◆ clone()

SegmentEditorEffects.SegmentEditorMarginEffect.SegmentEditorMarginEffect.clone ( self)

Definition at line 22 of file SegmentEditorMarginEffect.py.

◆ createCursor()

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

Definition at line 83 of file SegmentEditorMarginEffect.py.

◆ getMarginSizeMM()

SegmentEditorEffects.SegmentEditorMarginEffect.SegmentEditorMarginEffect.getMarginSizeMM ( self)

Definition at line 151 of file SegmentEditorMarginEffect.py.

◆ getMarginSizePixel()

SegmentEditorEffects.SegmentEditorMarginEffect.SegmentEditorMarginEffect.getMarginSizePixel ( self)

Definition at line 91 of file SegmentEditorMarginEffect.py.

◆ growOperationToggled()

SegmentEditorEffects.SegmentEditorMarginEffect.SegmentEditorMarginEffect.growOperationToggled ( self,
toggled )

Definition at line 137 of file SegmentEditorMarginEffect.py.

◆ helpText()

SegmentEditorEffects.SegmentEditorMarginEffect.SegmentEditorMarginEffect.helpText ( self)

Definition at line 35 of file SegmentEditorMarginEffect.py.

◆ icon()

SegmentEditorEffects.SegmentEditorMarginEffect.SegmentEditorMarginEffect.icon ( self)

Definition at line 29 of file SegmentEditorMarginEffect.py.

◆ onApply()

SegmentEditorEffects.SegmentEditorMarginEffect.SegmentEditorMarginEffect.onApply ( self)

Definition at line 215 of file SegmentEditorMarginEffect.py.

◆ processMargin()

SegmentEditorEffects.SegmentEditorMarginEffect.SegmentEditorMarginEffect.processMargin ( self)

Definition at line 168 of file SegmentEditorMarginEffect.py.

◆ setMRMLDefaults()

SegmentEditorEffects.SegmentEditorMarginEffect.SegmentEditorMarginEffect.setMRMLDefaults ( self)

Definition at line 87 of file SegmentEditorMarginEffect.py.

◆ setupOptionsFrame()

SegmentEditorEffects.SegmentEditorMarginEffect.SegmentEditorMarginEffect.setupOptionsFrame ( self)

Definition at line 38 of file SegmentEditorMarginEffect.py.

◆ showStatusMessage()

SegmentEditorEffects.SegmentEditorMarginEffect.SegmentEditorMarginEffect.showStatusMessage ( self,
msg,
timeoutMsec = 500 )

Definition at line 164 of file SegmentEditorMarginEffect.py.

◆ shrinkOperationToggled()

SegmentEditorEffects.SegmentEditorMarginEffect.SegmentEditorMarginEffect.shrinkOperationToggled ( self,
toggled )

Definition at line 141 of file SegmentEditorMarginEffect.py.

◆ updateGUIFromMRML()

SegmentEditorEffects.SegmentEditorMarginEffect.SegmentEditorMarginEffect.updateGUIFromMRML ( self)

Definition at line 101 of file SegmentEditorMarginEffect.py.

◆ updateMRMLFromGUI()

SegmentEditorEffects.SegmentEditorMarginEffect.SegmentEditorMarginEffect.updateMRMLFromGUI ( self)

Definition at line 145 of file SegmentEditorMarginEffect.py.

Member Data Documentation

◆ applyButton

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

Definition at line 72 of file SegmentEditorMarginEffect.py.

◆ applyToAllVisibleSegmentsCheckBox

SegmentEditorEffects.SegmentEditorMarginEffect.SegmentEditorMarginEffect.applyToAllVisibleSegmentsCheckBox = qt.QCheckBox()

Definition at line 65 of file SegmentEditorMarginEffect.py.

◆ applyToAllVisibleSegmentsLabel

SegmentEditorEffects.SegmentEditorMarginEffect.SegmentEditorMarginEffect.applyToAllVisibleSegmentsLabel
Initial value:
= self.scriptedEffect.addLabeledOptionsWidget(_("Apply to visible segments:"),
self.applyToAllVisibleSegmentsCheckBox)

Definition at line 69 of file SegmentEditorMarginEffect.py.

◆ growOperationToggled

SegmentEditorEffects.SegmentEditorMarginEffect.SegmentEditorMarginEffect.growOperationToggled

Definition at line 79 of file SegmentEditorMarginEffect.py.

◆ growOptionRadioButton

SegmentEditorEffects.SegmentEditorMarginEffect.SegmentEditorMarginEffect.growOptionRadioButton = qt.QRadioButton(_("Grow"))

Definition at line 42 of file SegmentEditorMarginEffect.py.

◆ marginSizeLabel

SegmentEditorEffects.SegmentEditorMarginEffect.SegmentEditorMarginEffect.marginSizeLabel = qt.QLabel()

Definition at line 57 of file SegmentEditorMarginEffect.py.

◆ marginSizeMMLabel

SegmentEditorEffects.SegmentEditorMarginEffect.SegmentEditorMarginEffect.marginSizeMMLabel = self.scriptedEffect.addLabeledOptionsWidget(_("Margin size:"), marginSizeFrame)

Definition at line 62 of file SegmentEditorMarginEffect.py.

◆ marginSizeMMSpinBox

SegmentEditorEffects.SegmentEditorMarginEffect.SegmentEditorMarginEffect.marginSizeMMSpinBox = slicer.qMRMLSpinBox()

Definition at line 49 of file SegmentEditorMarginEffect.py.

◆ onApply

SegmentEditorEffects.SegmentEditorMarginEffect.SegmentEditorMarginEffect.onApply

Definition at line 77 of file SegmentEditorMarginEffect.py.

◆ shrinkOperationToggled

SegmentEditorEffects.SegmentEditorMarginEffect.SegmentEditorMarginEffect.shrinkOperationToggled

Definition at line 80 of file SegmentEditorMarginEffect.py.

◆ shrinkOptionRadioButton

SegmentEditorEffects.SegmentEditorMarginEffect.SegmentEditorMarginEffect.shrinkOptionRadioButton = qt.QRadioButton(_("Shrink"))

Definition at line 41 of file SegmentEditorMarginEffect.py.

◆ updateMRMLFromGUI

SegmentEditorEffects.SegmentEditorMarginEffect.SegmentEditorMarginEffect.updateMRMLFromGUI

Definition at line 78 of file SegmentEditorMarginEffect.py.


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