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

Public Member Functions

def __init__ (self, scriptedEffect)
 
def activate (self)
 
def clone (self)
 
def createCursor (self, widget)
 
def deactivate (self)
 
def fillValueChanged (self)
 
def getInputVolume (self)
 
def helpText (self)
 
def icon (self)
 
def isVolumeVisible (self, volumeNode)
 
def onApply (self)
 
def onInputVisibilityButtonClicked (self)
 
def onInputVolumeChanged (self)
 
def onOperationSelectionChanged (self, operationName, toggle)
 
def onOutputVisibilityButtonClicked (self)
 
def onOutputVolumeChanged (self)
 
def setMRMLDefaults (self)
 
def setupOptionsFrame (self)
 
def updateGUIFromMRML (self)
 
def updateMRMLFromGUI (self)
 

Static Public Member Functions

def maskVolumeWithSegment (segmentationNode, segmentID, operationMode, fillValues, inputVolumeNode, outputVolumeNode, maskExtent=None)
 

Public Attributes

 applyButton
 
 binaryMaskFillButton
 
 binaryMaskFillInsideEdit
 
 binaryMaskFillOutsideEdit
 
 buttonToOperationNameMap
 
 fillInsideButton
 
 fillInsideLabel
 
 fillOutsideButton
 
 fillOutsideLabel
 
 fillValueEdit
 
 fillValueLabel
 
 inputVisibilityButton
 
 inputVolumeSelector
 
 invisibleIcon
 
 operationRadioButtons
 
 outputVisibilityButton
 
 outputVolumeSelector
 
 updatingGUIFromMRML
 
 visibleIcon
 

Detailed Description

This effect fills a selected volume node inside and/or outside a segment with a chosen value.

Definition at line 7 of file SegmentEditorMaskVolumeEffect.py.

Constructor & Destructor Documentation

◆ __init__()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.__init__ (   self,
  scriptedEffect 
)

Definition at line 11 of file SegmentEditorMaskVolumeEffect.py.

Member Function Documentation

◆ activate()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.activate (   self)

Definition at line 232 of file SegmentEditorMaskVolumeEffect.py.

◆ clone()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.clone (   self)

Definition at line 19 of file SegmentEditorMaskVolumeEffect.py.

◆ createCursor()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.createCursor (   self,
  widget 
)

Definition at line 159 of file SegmentEditorMaskVolumeEffect.py.

◆ deactivate()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.deactivate (   self)

Definition at line 235 of file SegmentEditorMaskVolumeEffect.py.

◆ fillValueChanged()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.fillValueChanged (   self)

Definition at line 274 of file SegmentEditorMaskVolumeEffect.py.

◆ getInputVolume()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.getInputVolume (   self)

Definition at line 245 of file SegmentEditorMaskVolumeEffect.py.

◆ helpText()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.helpText (   self)

Definition at line 33 of file SegmentEditorMaskVolumeEffect.py.

◆ icon()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.icon (   self)

Definition at line 26 of file SegmentEditorMaskVolumeEffect.py.

◆ isVolumeVisible()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.isVolumeVisible (   self,
  volumeNode 
)

Definition at line 169 of file SegmentEditorMaskVolumeEffect.py.

◆ maskVolumeWithSegment()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.maskVolumeWithSegment (   segmentationNode,
  segmentID,
  operationMode,
  fillValues,
  inputVolumeNode,
  outputVolumeNode,
  maskExtent = None 
)
static
Fill voxels of the input volume inside/outside the masking model with the provided fill value
maskExtent: optional output to return computed mask extent (expected input is a 6-element list)
fillValues: list containing one or two fill values. If fill mode is inside or outside then only one value is specified in the list.
  If fill mode is inside&outside then the list must contain two values: first is the inside fill, second is the outside fill value.

Definition at line 310 of file SegmentEditorMaskVolumeEffect.py.

◆ onApply()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.onApply (   self)

Definition at line 277 of file SegmentEditorMaskVolumeEffect.py.

◆ onInputVisibilityButtonClicked()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.onInputVisibilityButtonClicked (   self)

Definition at line 251 of file SegmentEditorMaskVolumeEffect.py.

◆ onInputVolumeChanged()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.onInputVolumeChanged (   self)

Definition at line 266 of file SegmentEditorMaskVolumeEffect.py.

◆ onOperationSelectionChanged()

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

Definition at line 240 of file SegmentEditorMaskVolumeEffect.py.

◆ onOutputVisibilityButtonClicked()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.onOutputVisibilityButtonClicked (   self)

Definition at line 260 of file SegmentEditorMaskVolumeEffect.py.

◆ onOutputVolumeChanged()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.onOutputVolumeChanged (   self)

Definition at line 270 of file SegmentEditorMaskVolumeEffect.py.

◆ setMRMLDefaults()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.setMRMLDefaults (   self)

Definition at line 163 of file SegmentEditorMaskVolumeEffect.py.

◆ setupOptionsFrame()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.setupOptionsFrame (   self)

Definition at line 39 of file SegmentEditorMaskVolumeEffect.py.

◆ updateGUIFromMRML()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.updateGUIFromMRML (   self)

Definition at line 181 of file SegmentEditorMaskVolumeEffect.py.

◆ updateMRMLFromGUI()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.updateMRMLFromGUI (   self)

Definition at line 223 of file SegmentEditorMaskVolumeEffect.py.

Member Data Documentation

◆ applyButton

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.applyButton

Definition at line 149 of file SegmentEditorMaskVolumeEffect.py.

◆ binaryMaskFillButton

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.binaryMaskFillButton

Definition at line 54 of file SegmentEditorMaskVolumeEffect.py.

◆ binaryMaskFillInsideEdit

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.binaryMaskFillInsideEdit

Definition at line 77 of file SegmentEditorMaskVolumeEffect.py.

◆ binaryMaskFillOutsideEdit

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.binaryMaskFillOutsideEdit

Definition at line 72 of file SegmentEditorMaskVolumeEffect.py.

◆ buttonToOperationNameMap

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.buttonToOperationNameMap

Definition at line 17 of file SegmentEditorMaskVolumeEffect.py.

◆ fillInsideButton

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.fillInsideButton

Definition at line 46 of file SegmentEditorMaskVolumeEffect.py.

◆ fillInsideLabel

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.fillInsideLabel

Definition at line 79 of file SegmentEditorMaskVolumeEffect.py.

◆ fillOutsideButton

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.fillOutsideButton

Definition at line 50 of file SegmentEditorMaskVolumeEffect.py.

◆ fillOutsideLabel

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.fillOutsideLabel

Definition at line 74 of file SegmentEditorMaskVolumeEffect.py.

◆ fillValueEdit

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.fillValueEdit

Definition at line 67 of file SegmentEditorMaskVolumeEffect.py.

◆ fillValueLabel

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.fillValueLabel

Definition at line 69 of file SegmentEditorMaskVolumeEffect.py.

◆ inputVisibilityButton

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.inputVisibilityButton

Definition at line 118 of file SegmentEditorMaskVolumeEffect.py.

◆ inputVolumeSelector

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.inputVolumeSelector

Definition at line 106 of file SegmentEditorMaskVolumeEffect.py.

◆ invisibleIcon

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.invisibleIcon

Definition at line 43 of file SegmentEditorMaskVolumeEffect.py.

◆ operationRadioButtons

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.operationRadioButtons

Definition at line 40 of file SegmentEditorMaskVolumeEffect.py.

◆ outputVisibilityButton

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.outputVisibilityButton

Definition at line 140 of file SegmentEditorMaskVolumeEffect.py.

◆ outputVolumeSelector

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.outputVolumeSelector

Definition at line 127 of file SegmentEditorMaskVolumeEffect.py.

◆ updatingGUIFromMRML

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.updatingGUIFromMRML

Definition at line 41 of file SegmentEditorMaskVolumeEffect.py.

◆ visibleIcon

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.visibleIcon

Definition at line 42 of file SegmentEditorMaskVolumeEffect.py.


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