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

Public Member Functions

 __init__ (self, scriptedEffect)
 
 activate (self)
 
 autoThreshold (self, autoThresholdMethod, autoThresholdMode)
 
 cleanup (self)
 
 clearHistogramDisplay (self)
 
 clearPreviewDisplayPipelines (self)
 
 clone (self)
 
 createHistogramPipeline (self, sliceWidget)
 
 deactivate (self)
 
 getSourceVolumeLayerLogic (self, sliceWidget)
 
 helpText (self)
 
 icon (self)
 
 layoutChanged (self)
 
 onApply (self)
 
 onAutoThreshold (self)
 
 onHistogramMouseClick (self, pos, button)
 
 onHistogramMouseMove (self, pos, button)
 
 onHistogramMouseRelease (self, pos, button)
 
 onSelectedAutoThresholdMethod (self)
 
 onSelectNextAutoThresholdMethod (self)
 
 onSelectPreviousAutoThresholdMethod (self)
 
 onThresholdValuesChanged (self, min, max)
 
 onUseForPaint (self)
 
 preview (self)
 
 processInteractionEvents (self, callerInteractor, eventId, viewWidget)
 
 processViewNodeEvents (self, callerViewNode, eventId, viewWidget)
 
 setMRMLDefaults (self)
 
 setupOptionsFrame (self)
 
 sourceVolumeNodeChanged (self)
 
 updateGUIFromMRML (self)
 
 updateHistogram (self)
 
 updateHistogramBackground (self)
 
 updateMRMLFromGUI (self)
 
 updatePreviewDisplayPipelines (self)
 
- Public Member Functions inherited from SegmentEditorEffects.AbstractScriptedSegmentEditorEffect.AbstractScriptedSegmentEditorEffect
 __init__ (self, scriptedEffect)
 
 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"))
 
 autoThresholdCalculator = vtkITK.vtkITKImageThresholdCalculator()
 
 autoThresholdMethodSelectorComboBox = qt.QComboBox()
 
 autoThresholdModeSelectorComboBox = qt.QComboBox()
 
 averageFunction = vtk.vtkPiecewiseFunction()
 
 averageFunctionContainer = ctk.ctkVTKPiecewiseFunction(self.scriptedEffect)
 
 averageFunctionItem = ctk.ctkTransferFunctionBarsItem(self.averageFunctionContainer)
 
list backgroundColor = [1.0, 1.0, 0.7]
 
 backgroundFunction = vtk.vtkColorTransferFunction()
 
 backgroundFunctionContainer = ctk.ctkVTKColorTransferFunction(self.scriptedEffect)
 
 backgroundFunctionItem = ctk.ctkTransferFunctionGradientItem(self.backgroundFunctionContainer)
 
 boxROIButton = qt.QToolButton()
 
 circleROIButton = qt.QToolButton()
 
 drawROIButton = qt.QToolButton()
 
bool enableViewInteractions = True
 
 histogramBrushButtonGroup = qt.QButtonGroup()
 
 histogramEventFilter = HistogramEventFilter()
 
 histogramFunction = vtk.vtkPiecewiseFunction()
 
 histogramFunctionContainer = ctk.ctkVTKPiecewiseFunction(self.scriptedEffect)
 
 histogramFunctionItem = ctk.ctkTransferFunctionBarsItem(self.histogramFunctionContainer)
 
 histogramLowerMethodButtonGroup = qt.QButtonGroup()
 
 histogramLowerThresholdAverageButton = qt.QToolButton()
 
 histogramLowerThresholdLowerButton = qt.QToolButton()
 
 histogramLowerThresholdMinimumButton = qt.QToolButton()
 
 histogramPipeline = None
 
 histogramUpperMethodButtonGroup = qt.QButtonGroup()
 
 histogramUpperThresholdAverageButton = qt.QToolButton()
 
 histogramUpperThresholdMaximumButton = qt.QToolButton()
 
 histogramUpperThresholdUpperButton = qt.QToolButton()
 
 histogramView = ctk.ctkTransferFunctionView()
 
 imageAccumulate = vtk.vtkImageAccumulate()
 
 lineROIButton = qt.QToolButton()
 
 minMaxFunction = vtk.vtkPiecewiseFunction()
 
 minMaxFunctionContainer = ctk.ctkVTKPiecewiseFunction(self.scriptedEffect)
 
 minMaxFunctionItem = ctk.ctkTransferFunctionBarsItem(self.minMaxFunctionContainer)
 
 onApply
 
 onAutoThreshold
 
 onSelectedAutoThresholdMethod
 
 onSelectNextAutoThresholdMethod
 
 onSelectPreviousAutoThresholdMethod
 
 onThresholdValuesChanged
 
 onUseForPaint
 
 preview
 
 previewedSegmentationDisplayNode = None
 
 previewedSegmentID = None
 
dict previewPipelines = {}
 
int previewState = 0
 
int previewStep = 1
 
int previewSteps = 5
 
 regionLabel = qt.QLabel(_("Region shape:"))
 
 reslice = vtk.vtkImageReslice()
 
 selectionEndPosition = None
 
 selectionStartPosition = None
 
 selectNextAutoThresholdButton = qt.QToolButton()
 
 selectPreviousAutoThresholdButton = qt.QToolButton()
 
 setAutoThresholdButton = qt.QPushButton(_("Set"))
 
 stencil = vtk.vtkPolyDataToImageStencil()
 
 thresholdSlider = ctk.ctkRangeWidget()
 
 thresholdSliderLabel = qt.QLabel(_("Threshold Range:"))
 
 timer = qt.QTimer()
 
 updateMRMLFromGUI
 
 useForPaintButton = qt.QPushButton(_("Use for masking"))
 
- Public Attributes inherited from SegmentEditorEffects.AbstractScriptedSegmentEditorEffect.AbstractScriptedSegmentEditorEffect
 scriptedEffect = scriptedEffect
 

Detailed Description

ThresholdEffect is an Effect implementing the global threshold operation in the segment editor This is also an example for scripted effects, and some methods have no function. The methods that are not needed (i.e. the default implementation in qSlicerSegmentEditorAbstractEffect is satisfactory) can simply be omitted.

Definition at line 15 of file SegmentEditorThresholdEffect.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 24 of file SegmentEditorThresholdEffect.py.

Member Function Documentation

◆ activate()

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.activate ( self)

Definition at line 100 of file SegmentEditorThresholdEffect.py.

◆ autoThreshold()

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.autoThreshold ( self,
autoThresholdMethod,
autoThresholdMode )

Definition at line 510 of file SegmentEditorThresholdEffect.py.

◆ cleanup()

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.cleanup ( self)
Clean up resources, event observers, and Qt signal/slot connections to ensure proper object deletion. Subclasses should override this method to disconnect any subclass-specific signals and slots. This method should be called before the object is garbage collected or explicitly deleted on the C++ side. Failing to disconnect signals/slots may prevent the object from being garbage collected, leading to memory leaks. For more details, see: https://github.com/Slicer/Slicer/issues/7392

Reimplemented from SegmentEditorEffects.AbstractScriptedSegmentEditorEffect.AbstractScriptedSegmentEditorEffect.

Definition at line 71 of file SegmentEditorThresholdEffect.py.

◆ clearHistogramDisplay()

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.clearHistogramDisplay ( self)

Definition at line 605 of file SegmentEditorThresholdEffect.py.

◆ clearPreviewDisplayPipelines()

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.clearPreviewDisplayPipelines ( self)

Definition at line 595 of file SegmentEditorThresholdEffect.py.

◆ clone()

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.clone ( self)

Definition at line 80 of file SegmentEditorThresholdEffect.py.

◆ createHistogramPipeline()

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.createHistogramPipeline ( self,
sliceWidget )

Definition at line 760 of file SegmentEditorThresholdEffect.py.

◆ deactivate()

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.deactivate ( self)

Definition at line 107 of file SegmentEditorThresholdEffect.py.

◆ getSourceVolumeLayerLogic()

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.getSourceVolumeLayerLogic ( self,
sliceWidget )

Definition at line 797 of file SegmentEditorThresholdEffect.py.

◆ helpText()

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.helpText ( self)

Definition at line 93 of file SegmentEditorThresholdEffect.py.

◆ icon()

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.icon ( self)

Definition at line 87 of file SegmentEditorThresholdEffect.py.

◆ layoutChanged()

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.layoutChanged ( self)

Definition at line 377 of file SegmentEditorThresholdEffect.py.

◆ onApply()

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.onApply ( self)

Definition at line 559 of file SegmentEditorThresholdEffect.py.

◆ onAutoThreshold()

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.onAutoThreshold ( self)

Definition at line 505 of file SegmentEditorThresholdEffect.py.

◆ onHistogramMouseClick()

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.onHistogramMouseClick ( self,
pos,
button )

Definition at line 775 of file SegmentEditorThresholdEffect.py.

◆ onHistogramMouseMove()

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.onHistogramMouseMove ( self,
pos,
button )

Definition at line 785 of file SegmentEditorThresholdEffect.py.

◆ onHistogramMouseRelease()

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.onHistogramMouseRelease ( self,
pos,
button )

Definition at line 791 of file SegmentEditorThresholdEffect.py.

◆ onSelectedAutoThresholdMethod()

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.onSelectedAutoThresholdMethod ( self)

Definition at line 500 of file SegmentEditorThresholdEffect.py.

◆ onSelectNextAutoThresholdMethod()

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.onSelectNextAutoThresholdMethod ( self)

Definition at line 495 of file SegmentEditorThresholdEffect.py.

◆ onSelectPreviousAutoThresholdMethod()

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.onSelectPreviousAutoThresholdMethod ( self)

Definition at line 490 of file SegmentEditorThresholdEffect.py.

◆ onThresholdValuesChanged()

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.onThresholdValuesChanged ( self,
min,
max )

Definition at line 480 of file SegmentEditorThresholdEffect.py.

◆ onUseForPaint()

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.onUseForPaint ( self)

Definition at line 483 of file SegmentEditorThresholdEffect.py.

◆ preview()

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.preview ( self)

Definition at line 661 of file SegmentEditorThresholdEffect.py.

◆ processInteractionEvents()

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.processInteractionEvents ( self,
callerInteractor,
eventId,
viewWidget )

Definition at line 709 of file SegmentEditorThresholdEffect.py.

◆ processViewNodeEvents()

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.processViewNodeEvents ( self,
callerViewNode,
eventId,
viewWidget )

Definition at line 771 of file SegmentEditorThresholdEffect.py.

◆ setMRMLDefaults()

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.setMRMLDefaults ( self)

Definition at line 380 of file SegmentEditorThresholdEffect.py.

◆ setupOptionsFrame()

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.setupOptionsFrame ( self)

Definition at line 115 of file SegmentEditorThresholdEffect.py.

◆ sourceVolumeNodeChanged()

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.sourceVolumeNodeChanged ( self)

Definition at line 365 of file SegmentEditorThresholdEffect.py.

◆ updateGUIFromMRML()

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.updateGUIFromMRML ( self)

Definition at line 389 of file SegmentEditorThresholdEffect.py.

◆ updateHistogram()

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.updateHistogram ( self)

Definition at line 823 of file SegmentEditorThresholdEffect.py.

◆ updateHistogramBackground()

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.updateHistogramBackground ( self)

Definition at line 927 of file SegmentEditorThresholdEffect.py.

◆ updateMRMLFromGUI()

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.updateMRMLFromGUI ( self)

Definition at line 423 of file SegmentEditorThresholdEffect.py.

◆ updatePreviewDisplayPipelines()

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.updatePreviewDisplayPipelines ( self)

Definition at line 611 of file SegmentEditorThresholdEffect.py.

Member Data Documentation

◆ applyButton

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

Definition at line 351 of file SegmentEditorThresholdEffect.py.

◆ autoThresholdCalculator

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.autoThresholdCalculator = vtkITK.vtkITKImageThresholdCalculator()

Definition at line 35 of file SegmentEditorThresholdEffect.py.

◆ autoThresholdMethodSelectorComboBox

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.autoThresholdMethodSelectorComboBox = qt.QComboBox()

Definition at line 134 of file SegmentEditorThresholdEffect.py.

◆ autoThresholdModeSelectorComboBox

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.autoThresholdModeSelectorComboBox = qt.QComboBox()

Definition at line 125 of file SegmentEditorThresholdEffect.py.

◆ averageFunction

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.averageFunction = vtk.vtkPiecewiseFunction()

Definition at line 253 of file SegmentEditorThresholdEffect.py.

◆ averageFunctionContainer

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.averageFunctionContainer = ctk.ctkVTKPiecewiseFunction(self.scriptedEffect)

Definition at line 254 of file SegmentEditorThresholdEffect.py.

◆ averageFunctionItem

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.averageFunctionItem = ctk.ctkTransferFunctionBarsItem(self.averageFunctionContainer)

Definition at line 256 of file SegmentEditorThresholdEffect.py.

◆ backgroundColor

list SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.backgroundColor = [1.0, 1.0, 0.7]

Definition at line 264 of file SegmentEditorThresholdEffect.py.

◆ backgroundFunction

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.backgroundFunction = vtk.vtkColorTransferFunction()

Definition at line 265 of file SegmentEditorThresholdEffect.py.

◆ backgroundFunctionContainer

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.backgroundFunctionContainer = ctk.ctkVTKColorTransferFunction(self.scriptedEffect)

Definition at line 266 of file SegmentEditorThresholdEffect.py.

◆ backgroundFunctionItem

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.backgroundFunctionItem = ctk.ctkTransferFunctionGradientItem(self.backgroundFunctionContainer)

Definition at line 268 of file SegmentEditorThresholdEffect.py.

◆ boxROIButton

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.boxROIButton = qt.QToolButton()

Definition at line 195 of file SegmentEditorThresholdEffect.py.

◆ circleROIButton

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.circleROIButton = qt.QToolButton()

Definition at line 202 of file SegmentEditorThresholdEffect.py.

◆ drawROIButton

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.drawROIButton = qt.QToolButton()

Definition at line 209 of file SegmentEditorThresholdEffect.py.

◆ enableViewInteractions

bool SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.enableViewInteractions = True

Definition at line 69 of file SegmentEditorThresholdEffect.py.

◆ histogramBrushButtonGroup

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.histogramBrushButtonGroup = qt.QButtonGroup()

Definition at line 192 of file SegmentEditorThresholdEffect.py.

◆ histogramEventFilter

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.histogramEventFilter = HistogramEventFilter()

Definition at line 239 of file SegmentEditorThresholdEffect.py.

◆ histogramFunction

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.histogramFunction = vtk.vtkPiecewiseFunction()

Definition at line 230 of file SegmentEditorThresholdEffect.py.

◆ histogramFunctionContainer

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.histogramFunctionContainer = ctk.ctkVTKPiecewiseFunction(self.scriptedEffect)

Definition at line 231 of file SegmentEditorThresholdEffect.py.

◆ histogramFunctionItem

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.histogramFunctionItem = ctk.ctkTransferFunctionBarsItem(self.histogramFunctionContainer)

Definition at line 233 of file SegmentEditorThresholdEffect.py.

◆ histogramLowerMethodButtonGroup

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.histogramLowerMethodButtonGroup = qt.QButtonGroup()

Definition at line 283 of file SegmentEditorThresholdEffect.py.

◆ histogramLowerThresholdAverageButton

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.histogramLowerThresholdAverageButton = qt.QToolButton()

Definition at line 301 of file SegmentEditorThresholdEffect.py.

◆ histogramLowerThresholdLowerButton

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.histogramLowerThresholdLowerButton = qt.QToolButton()

Definition at line 294 of file SegmentEditorThresholdEffect.py.

◆ histogramLowerThresholdMinimumButton

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.histogramLowerThresholdMinimumButton = qt.QToolButton()

Definition at line 286 of file SegmentEditorThresholdEffect.py.

◆ histogramPipeline

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.histogramPipeline = None

Definition at line 44 of file SegmentEditorThresholdEffect.py.

◆ histogramUpperMethodButtonGroup

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.histogramUpperMethodButtonGroup = qt.QButtonGroup()

Definition at line 316 of file SegmentEditorThresholdEffect.py.

◆ histogramUpperThresholdAverageButton

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.histogramUpperThresholdAverageButton = qt.QToolButton()

Definition at line 319 of file SegmentEditorThresholdEffect.py.

◆ histogramUpperThresholdMaximumButton

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.histogramUpperThresholdMaximumButton = qt.QToolButton()

Definition at line 333 of file SegmentEditorThresholdEffect.py.

◆ histogramUpperThresholdUpperButton

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.histogramUpperThresholdUpperButton = qt.QToolButton()

Definition at line 326 of file SegmentEditorThresholdEffect.py.

◆ histogramView

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.histogramView = ctk.ctkTransferFunctionView()

Definition at line 225 of file SegmentEditorThresholdEffect.py.

◆ imageAccumulate

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.imageAccumulate = vtk.vtkImageAccumulate()

Definition at line 58 of file SegmentEditorThresholdEffect.py.

◆ lineROIButton

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.lineROIButton = qt.QToolButton()

Definition at line 216 of file SegmentEditorThresholdEffect.py.

◆ minMaxFunction

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.minMaxFunction = vtk.vtkPiecewiseFunction()

Definition at line 243 of file SegmentEditorThresholdEffect.py.

◆ minMaxFunctionContainer

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.minMaxFunctionContainer = ctk.ctkVTKPiecewiseFunction(self.scriptedEffect)

Definition at line 244 of file SegmentEditorThresholdEffect.py.

◆ minMaxFunctionItem

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.minMaxFunctionItem = ctk.ctkTransferFunctionBarsItem(self.minMaxFunctionContainer)

Definition at line 246 of file SegmentEditorThresholdEffect.py.

◆ onApply

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.onApply

Definition at line 363 of file SegmentEditorThresholdEffect.py.

◆ onAutoThreshold

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.onAutoThreshold

Definition at line 362 of file SegmentEditorThresholdEffect.py.

◆ onSelectedAutoThresholdMethod

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.onSelectedAutoThresholdMethod

Definition at line 358 of file SegmentEditorThresholdEffect.py.

◆ onSelectNextAutoThresholdMethod

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.onSelectNextAutoThresholdMethod

Definition at line 361 of file SegmentEditorThresholdEffect.py.

◆ onSelectPreviousAutoThresholdMethod

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.onSelectPreviousAutoThresholdMethod

Definition at line 360 of file SegmentEditorThresholdEffect.py.

◆ onThresholdValuesChanged

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.onThresholdValuesChanged

Definition at line 357 of file SegmentEditorThresholdEffect.py.

◆ onUseForPaint

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.onUseForPaint

Definition at line 356 of file SegmentEditorThresholdEffect.py.

◆ preview

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.preview

Definition at line 41 of file SegmentEditorThresholdEffect.py.

◆ previewedSegmentationDisplayNode

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.previewedSegmentationDisplayNode = None

Definition at line 29 of file SegmentEditorThresholdEffect.py.

◆ previewedSegmentID

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.previewedSegmentID = None

Definition at line 30 of file SegmentEditorThresholdEffect.py.

◆ previewPipelines

dict SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.previewPipelines = {}

Definition at line 43 of file SegmentEditorThresholdEffect.py.

◆ previewState

int SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.previewState = 0

Definition at line 38 of file SegmentEditorThresholdEffect.py.

◆ previewStep

int SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.previewStep = 1

Definition at line 39 of file SegmentEditorThresholdEffect.py.

◆ previewSteps

int SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.previewSteps = 5

Definition at line 40 of file SegmentEditorThresholdEffect.py.

◆ regionLabel

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.regionLabel = qt.QLabel(_("Region shape:"))

Definition at line 189 of file SegmentEditorThresholdEffect.py.

◆ reslice

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.reslice = vtk.vtkImageReslice()

Definition at line 50 of file SegmentEditorThresholdEffect.py.

◆ selectionEndPosition

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.selectionEndPosition = None

Definition at line 63 of file SegmentEditorThresholdEffect.py.

◆ selectionStartPosition

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.selectionStartPosition = None

Definition at line 62 of file SegmentEditorThresholdEffect.py.

◆ selectNextAutoThresholdButton

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.selectNextAutoThresholdButton = qt.QToolButton()

Definition at line 158 of file SegmentEditorThresholdEffect.py.

◆ selectPreviousAutoThresholdButton

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.selectPreviousAutoThresholdButton = qt.QToolButton()

Definition at line 153 of file SegmentEditorThresholdEffect.py.

◆ setAutoThresholdButton

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.setAutoThresholdButton = qt.QPushButton(_("Set"))

Definition at line 163 of file SegmentEditorThresholdEffect.py.

◆ stencil

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.stencil = vtk.vtkPolyDataToImageStencil()

Definition at line 47 of file SegmentEditorThresholdEffect.py.

◆ thresholdSlider

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.thresholdSlider = ctk.ctkRangeWidget()

Definition at line 120 of file SegmentEditorThresholdEffect.py.

◆ thresholdSliderLabel

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.thresholdSliderLabel = qt.QLabel(_("Threshold Range:"))

Definition at line 116 of file SegmentEditorThresholdEffect.py.

◆ timer

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.timer = qt.QTimer()

Definition at line 37 of file SegmentEditorThresholdEffect.py.

◆ updateMRMLFromGUI

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.updateMRMLFromGUI

Definition at line 198 of file SegmentEditorThresholdEffect.py.

◆ useForPaintButton

SegmentEditorEffects.SegmentEditorThresholdEffect.SegmentEditorThresholdEffect.useForPaintButton = qt.QPushButton(_("Use for masking"))

Definition at line 347 of file SegmentEditorThresholdEffect.py.


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