|
| __init__ (self, scriptedEffect) |
|
| activate (self) |
|
| clone (self) |
|
| createCursor (self, widget) |
|
| deactivate (self) |
|
| fillValueChanged (self) |
|
| getInputVolume (self) |
|
| helpText (self) |
|
| icon (self) |
|
| isVolumeVisible (self, volumeNode) |
|
| onApply (self) |
|
| onInputVisibilityButtonClicked (self) |
|
| onInputVolumeChanged (self) |
|
| onOperationSelectionChanged (self, operationName, toggle) |
|
| onOutputVisibilityButtonClicked (self) |
|
| onOutputVolumeChanged (self) |
|
| setMRMLDefaults (self) |
|
| setupOptionsFrame (self) |
|
| softEdgeMmChanged (self, edgeMm) |
|
| updateGUIFromMRML (self) |
|
| updateMRMLFromGUI (self) |
|
| __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) |
|
|
| maskVolumeWithSegment (segmentationNode, segmentID, operationMode, fillValues, inputVolumeNode, outputVolumeNode, maskExtent=None, softEdgeMm=0.0) |
|
This effect fills a selected volume node inside and/or outside a segment with a chosen value.
Definition at line 9 of file SegmentEditorMaskVolumeEffect.py.
◆ __init__()
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.__init__ |
( |
| self, |
|
|
| scriptedEffect ) |
◆ activate()
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.activate |
( |
| self | ) |
|
◆ clone()
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.clone |
( |
| self | ) |
|
◆ createCursor()
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.createCursor |
( |
| self, |
|
|
| widget ) |
◆ deactivate()
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.deactivate |
( |
| self | ) |
|
◆ fillValueChanged()
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.fillValueChanged |
( |
| self | ) |
|
◆ getInputVolume()
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.getInputVolume |
( |
| self | ) |
|
◆ helpText()
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.helpText |
( |
| self | ) |
|
◆ icon()
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.icon |
( |
| self | ) |
|
◆ isVolumeVisible()
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.isVolumeVisible |
( |
| self, |
|
|
| volumeNode ) |
◆ maskVolumeWithSegment()
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.maskVolumeWithSegment |
( |
| segmentationNode, |
|
|
| segmentID, |
|
|
| operationMode, |
|
|
| fillValues, |
|
|
| inputVolumeNode, |
|
|
| outputVolumeNode, |
|
|
| maskExtent = None, |
|
|
| softEdgeMm = 0.0 ) |
|
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 339 of file SegmentEditorMaskVolumeEffect.py.
◆ onApply()
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.onApply |
( |
| self | ) |
|
◆ onInputVisibilityButtonClicked()
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.onInputVisibilityButtonClicked |
( |
| self | ) |
|
◆ onInputVolumeChanged()
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.onInputVolumeChanged |
( |
| self | ) |
|
◆ onOperationSelectionChanged()
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.onOperationSelectionChanged |
( |
| self, |
|
|
| operationName, |
|
|
| toggle ) |
◆ onOutputVisibilityButtonClicked()
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.onOutputVisibilityButtonClicked |
( |
| self | ) |
|
◆ onOutputVolumeChanged()
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.onOutputVolumeChanged |
( |
| self | ) |
|
◆ setMRMLDefaults()
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.setMRMLDefaults |
( |
| self | ) |
|
◆ setupOptionsFrame()
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.setupOptionsFrame |
( |
| self | ) |
|
◆ softEdgeMmChanged()
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.softEdgeMmChanged |
( |
| self, |
|
|
| edgeMm ) |
◆ updateGUIFromMRML()
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.updateGUIFromMRML |
( |
| self | ) |
|
◆ updateMRMLFromGUI()
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.updateMRMLFromGUI |
( |
| self | ) |
|
◆ applyButton
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.applyButton = qt.QPushButton(_("Apply")) |
◆ binaryMaskFillButton
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.binaryMaskFillButton = qt.QRadioButton(_("Fill inside and outside")) |
◆ binaryMaskFillInsideEdit
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.binaryMaskFillInsideEdit = ctk.ctkDoubleSpinBox() |
◆ binaryMaskFillOutsideEdit
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.binaryMaskFillOutsideEdit = ctk.ctkDoubleSpinBox() |
◆ buttonToOperationNameMap
dict SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.buttonToOperationNameMap = {} |
◆ fillInsideButton
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.fillInsideButton = qt.QRadioButton(_("Fill inside")) |
◆ fillInsideLabel
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.fillInsideLabel = qt.QLabel(_(" Inside fill value: ")) |
◆ fillOutsideButton
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.fillOutsideButton = qt.QRadioButton(_("Fill outside")) |
◆ fillOutsideLabel
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.fillOutsideLabel = qt.QLabel(_("Outside fill value: ")) |
◆ fillValueChanged
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.fillValueChanged = vtk.vtkDoubleArray().GetDataTypeMax(vtk.VTK_DOUBLE) |
◆ fillValueEdit
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.fillValueEdit = ctk.ctkDoubleSpinBox() |
◆ fillValueLabel
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.fillValueLabel = qt.QLabel(_("Fill value: ")) |
◆ inputVisibilityButton
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.inputVisibilityButton = qt.QToolButton() |
◆ inputVolumeSelector
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.inputVolumeSelector = slicer.qMRMLNodeComboBox() |
◆ invisibleIcon
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.invisibleIcon = qt.QIcon(":/Icons/Small/SlicerInvisible.png") |
◆ onApply
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.onApply |
◆ onInputVisibilityButtonClicked
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.onInputVisibilityButtonClicked |
◆ onInputVolumeChanged
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.onInputVolumeChanged = False |
◆ onOutputVisibilityButtonClicked
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.onOutputVisibilityButtonClicked |
◆ onOutputVolumeChanged
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.onOutputVolumeChanged = False |
◆ operationRadioButtons
list SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.operationRadioButtons = [] |
◆ outputVisibilityButton
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.outputVisibilityButton = qt.QToolButton() |
◆ outputVolumeSelector
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.outputVolumeSelector = slicer.qMRMLNodeComboBox() |
◆ softEdgeMmChanged
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.softEdgeMmChanged |
◆ softEdgeMmLabel
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.softEdgeMmLabel = self.scriptedEffect.addLabeledOptionsWidget(_("Soft edge:"), self.softEdgeMmSpinBox) |
◆ softEdgeMmSpinBox
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.softEdgeMmSpinBox = slicer.qMRMLSpinBox() |
◆ updatingGUIFromMRML
bool SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.updatingGUIFromMRML = False |
◆ visibleIcon
SegmentEditorEffects.SegmentEditorMaskVolumeEffect.SegmentEditorMaskVolumeEffect.visibleIcon = qt.QIcon(":/Icons/Small/SlicerVisible.png") |
The documentation for this class was generated from the following file: