Slicer  5.0
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 231 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 158 of file SegmentEditorMaskVolumeEffect.py.

◆ deactivate()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.deactivate (   self)

Definition at line 234 of file SegmentEditorMaskVolumeEffect.py.

◆ fillValueChanged()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.fillValueChanged (   self)

Definition at line 273 of file SegmentEditorMaskVolumeEffect.py.

◆ getInputVolume()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.getInputVolume (   self)

Definition at line 244 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 168 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 309 of file SegmentEditorMaskVolumeEffect.py.

◆ onApply()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.onApply (   self)

Definition at line 276 of file SegmentEditorMaskVolumeEffect.py.

◆ onInputVisibilityButtonClicked()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.onInputVisibilityButtonClicked (   self)

Definition at line 250 of file SegmentEditorMaskVolumeEffect.py.

◆ onInputVolumeChanged()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.onInputVolumeChanged (   self)

Definition at line 265 of file SegmentEditorMaskVolumeEffect.py.

◆ onOperationSelectionChanged()

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

Definition at line 239 of file SegmentEditorMaskVolumeEffect.py.

◆ onOutputVisibilityButtonClicked()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.onOutputVisibilityButtonClicked (   self)

Definition at line 259 of file SegmentEditorMaskVolumeEffect.py.

◆ onOutputVolumeChanged()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.onOutputVolumeChanged (   self)

Definition at line 269 of file SegmentEditorMaskVolumeEffect.py.

◆ setMRMLDefaults()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.setMRMLDefaults (   self)

Definition at line 162 of file SegmentEditorMaskVolumeEffect.py.

◆ setupOptionsFrame()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.setupOptionsFrame (   self)

Definition at line 38 of file SegmentEditorMaskVolumeEffect.py.

◆ updateGUIFromMRML()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.updateGUIFromMRML (   self)

Definition at line 180 of file SegmentEditorMaskVolumeEffect.py.

◆ updateMRMLFromGUI()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.updateMRMLFromGUI (   self)

Definition at line 222 of file SegmentEditorMaskVolumeEffect.py.

Member Data Documentation

◆ applyButton

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.applyButton

Definition at line 148 of file SegmentEditorMaskVolumeEffect.py.

◆ binaryMaskFillButton

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.binaryMaskFillButton

Definition at line 53 of file SegmentEditorMaskVolumeEffect.py.

◆ binaryMaskFillInsideEdit

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.binaryMaskFillInsideEdit

Definition at line 76 of file SegmentEditorMaskVolumeEffect.py.

◆ binaryMaskFillOutsideEdit

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.binaryMaskFillOutsideEdit

Definition at line 71 of file SegmentEditorMaskVolumeEffect.py.

◆ buttonToOperationNameMap

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.buttonToOperationNameMap

Definition at line 17 of file SegmentEditorMaskVolumeEffect.py.

◆ fillInsideButton

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.fillInsideButton

Definition at line 45 of file SegmentEditorMaskVolumeEffect.py.

◆ fillInsideLabel

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.fillInsideLabel

Definition at line 78 of file SegmentEditorMaskVolumeEffect.py.

◆ fillOutsideButton

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.fillOutsideButton

Definition at line 49 of file SegmentEditorMaskVolumeEffect.py.

◆ fillOutsideLabel

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.fillOutsideLabel

Definition at line 73 of file SegmentEditorMaskVolumeEffect.py.

◆ fillValueEdit

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.fillValueEdit

Definition at line 66 of file SegmentEditorMaskVolumeEffect.py.

◆ fillValueLabel

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.fillValueLabel

Definition at line 68 of file SegmentEditorMaskVolumeEffect.py.

◆ inputVisibilityButton

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.inputVisibilityButton

Definition at line 117 of file SegmentEditorMaskVolumeEffect.py.

◆ inputVolumeSelector

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.inputVolumeSelector

Definition at line 105 of file SegmentEditorMaskVolumeEffect.py.

◆ invisibleIcon

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.invisibleIcon

Definition at line 42 of file SegmentEditorMaskVolumeEffect.py.

◆ operationRadioButtons

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.operationRadioButtons

Definition at line 39 of file SegmentEditorMaskVolumeEffect.py.

◆ outputVisibilityButton

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.outputVisibilityButton

Definition at line 139 of file SegmentEditorMaskVolumeEffect.py.

◆ outputVolumeSelector

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.outputVolumeSelector

Definition at line 126 of file SegmentEditorMaskVolumeEffect.py.

◆ updatingGUIFromMRML

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.updatingGUIFromMRML

Definition at line 40 of file SegmentEditorMaskVolumeEffect.py.

◆ visibleIcon

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.visibleIcon

Definition at line 41 of file SegmentEditorMaskVolumeEffect.py.


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