Slicer  4.11
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 6 of file SegmentEditorMaskVolumeEffect.py.

Constructor & Destructor Documentation

◆ __init__()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.__init__ (   self,
  scriptedEffect 
)

Definition at line 10 of file SegmentEditorMaskVolumeEffect.py.

Member Function Documentation

◆ activate()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.activate (   self)

Definition at line 230 of file SegmentEditorMaskVolumeEffect.py.

◆ clone()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.clone (   self)

Definition at line 18 of file SegmentEditorMaskVolumeEffect.py.

◆ createCursor()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.createCursor (   self,
  widget 
)

Definition at line 157 of file SegmentEditorMaskVolumeEffect.py.

◆ deactivate()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.deactivate (   self)

Definition at line 233 of file SegmentEditorMaskVolumeEffect.py.

◆ fillValueChanged()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.fillValueChanged (   self)

Definition at line 272 of file SegmentEditorMaskVolumeEffect.py.

◆ getInputVolume()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.getInputVolume (   self)

Definition at line 243 of file SegmentEditorMaskVolumeEffect.py.

◆ helpText()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.helpText (   self)

Definition at line 32 of file SegmentEditorMaskVolumeEffect.py.

◆ icon()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.icon (   self)

Definition at line 25 of file SegmentEditorMaskVolumeEffect.py.

◆ isVolumeVisible()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.isVolumeVisible (   self,
  volumeNode 
)

Definition at line 167 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 308 of file SegmentEditorMaskVolumeEffect.py.

◆ onApply()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.onApply (   self)

Definition at line 275 of file SegmentEditorMaskVolumeEffect.py.

◆ onInputVisibilityButtonClicked()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.onInputVisibilityButtonClicked (   self)

Definition at line 249 of file SegmentEditorMaskVolumeEffect.py.

◆ onInputVolumeChanged()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.onInputVolumeChanged (   self)

Definition at line 264 of file SegmentEditorMaskVolumeEffect.py.

◆ onOperationSelectionChanged()

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

Definition at line 238 of file SegmentEditorMaskVolumeEffect.py.

◆ onOutputVisibilityButtonClicked()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.onOutputVisibilityButtonClicked (   self)

Definition at line 258 of file SegmentEditorMaskVolumeEffect.py.

◆ onOutputVolumeChanged()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.onOutputVolumeChanged (   self)

Definition at line 268 of file SegmentEditorMaskVolumeEffect.py.

◆ setMRMLDefaults()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.setMRMLDefaults (   self)

Definition at line 161 of file SegmentEditorMaskVolumeEffect.py.

◆ setupOptionsFrame()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.setupOptionsFrame (   self)

Definition at line 37 of file SegmentEditorMaskVolumeEffect.py.

◆ updateGUIFromMRML()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.updateGUIFromMRML (   self)

Definition at line 179 of file SegmentEditorMaskVolumeEffect.py.

◆ updateMRMLFromGUI()

def SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.updateMRMLFromGUI (   self)

Definition at line 221 of file SegmentEditorMaskVolumeEffect.py.

Member Data Documentation

◆ applyButton

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.applyButton

Definition at line 147 of file SegmentEditorMaskVolumeEffect.py.

◆ binaryMaskFillButton

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.binaryMaskFillButton

Definition at line 52 of file SegmentEditorMaskVolumeEffect.py.

◆ binaryMaskFillInsideEdit

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.binaryMaskFillInsideEdit

Definition at line 75 of file SegmentEditorMaskVolumeEffect.py.

◆ binaryMaskFillOutsideEdit

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.binaryMaskFillOutsideEdit

Definition at line 70 of file SegmentEditorMaskVolumeEffect.py.

◆ buttonToOperationNameMap

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.buttonToOperationNameMap

Definition at line 16 of file SegmentEditorMaskVolumeEffect.py.

◆ fillInsideButton

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.fillInsideButton

Definition at line 44 of file SegmentEditorMaskVolumeEffect.py.

◆ fillInsideLabel

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.fillInsideLabel

Definition at line 77 of file SegmentEditorMaskVolumeEffect.py.

◆ fillOutsideButton

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.fillOutsideButton

Definition at line 48 of file SegmentEditorMaskVolumeEffect.py.

◆ fillOutsideLabel

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.fillOutsideLabel

Definition at line 72 of file SegmentEditorMaskVolumeEffect.py.

◆ fillValueEdit

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.fillValueEdit

Definition at line 65 of file SegmentEditorMaskVolumeEffect.py.

◆ fillValueLabel

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.fillValueLabel

Definition at line 67 of file SegmentEditorMaskVolumeEffect.py.

◆ inputVisibilityButton

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.inputVisibilityButton

Definition at line 116 of file SegmentEditorMaskVolumeEffect.py.

◆ inputVolumeSelector

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.inputVolumeSelector

Definition at line 104 of file SegmentEditorMaskVolumeEffect.py.

◆ invisibleIcon

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.invisibleIcon

Definition at line 41 of file SegmentEditorMaskVolumeEffect.py.

◆ operationRadioButtons

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.operationRadioButtons

Definition at line 38 of file SegmentEditorMaskVolumeEffect.py.

◆ outputVisibilityButton

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.outputVisibilityButton

Definition at line 138 of file SegmentEditorMaskVolumeEffect.py.

◆ outputVolumeSelector

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.outputVolumeSelector

Definition at line 125 of file SegmentEditorMaskVolumeEffect.py.

◆ updatingGUIFromMRML

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.updatingGUIFromMRML

Definition at line 39 of file SegmentEditorMaskVolumeEffect.py.

◆ visibleIcon

SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.visibleIcon

Definition at line 40 of file SegmentEditorMaskVolumeEffect.py.


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