|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
GUI for mitk::TotalSegmentatorTool. More...
#include <QmitkTotalSegmentatorToolGUI.h>


Public Member Functions | |
| mitkClassMacro (QmitkTotalSegmentatorToolGUI, QmitkMultiLabelSegWithPreviewToolGUIBase) | |
Public Member Functions inherited from QmitkMultiLabelSegWithPreviewToolGUIBase | |
| mitkClassMacro (QmitkMultiLabelSegWithPreviewToolGUIBase, QmitkSegWithPreviewToolGUIBase) | |
Public Member Functions inherited from QmitkSegWithPreviewToolGUIBase | |
| mitkClassMacro (QmitkSegWithPreviewToolGUIBase, QmitkToolGUI) | |
| Pointer | Clone () const |
| virtual bool | GetMode2D () const |
Public Member Functions inherited from QmitkToolGUI | |
| mitkClassMacroItkParent (QmitkToolGUI, itk::Object) | |
| void | SetTool (mitk::Tool *tool) |
| Associates the given tool with this GUI, emitting NewToolAssociated. More... | |
| void | SetMultiLabelInspector (QmitkMultiLabelInspector *inspector) |
| Provides the segmentation view's label inspector to this GUI. More... | |
| QmitkMultiLabelInspector * | GetMultiLabelInspector () const |
| Returns the inspector associated with this GUI, or null if none. More... | |
| void | Register () const override |
| Intentional no-op; prevents ITK reference counting from interfering with Qt ownership. More... | |
| void | UnRegister () const ITK_NOEXCEPT ITK_OVERRIDE |
| Intentional no-op; prevents ITK reference counting from interfering with Qt ownership. More... | |
| void | SetReferenceCount (int) override |
| Intentional no-op; prevents ITK reference counting from interfering with Qt ownership. More... | |
| ~QmitkToolGUI () override | |
Static Public Member Functions | |
| static Pointer | New () |
Protected Slots | |
| void | OnRunButtonClicked () |
| void | OnInstallButtonClicked () |
| void | OnSettingsButtonClicked () |
Protected Slots inherited from QmitkMultiLabelSegWithPreviewToolGUIBase | |
| void | OnLabelSelectionChanged (const QmitkSimpleLabelSetListWidget::LabelVectorType &selectedLabels) |
| void | OnRadioTransferAllClicked (bool checked) |
Protected Slots inherited from QmitkSegWithPreviewToolGUIBase | |
| void | OnNewToolAssociated (mitk::Tool *) |
| void | OnAcceptPreview () |
| void | OnPreviewOpacityChanged (int value) |
| void | OnPreviewVisibilityToggled (bool checked) |
Protected Member Functions | |
| QmitkTotalSegmentatorToolGUI () | |
| ~QmitkTotalSegmentatorToolGUI () override | |
| void | InitializeUI (QBoxLayout *mainLayout) override |
Protected Member Functions inherited from QmitkMultiLabelSegWithPreviewToolGUIBase | |
| QmitkMultiLabelSegWithPreviewToolGUIBase () | |
| ~QmitkMultiLabelSegWithPreviewToolGUIBase ()=default | |
| void | InitializeUI (QBoxLayout *mainLayout) override |
| void | EnableWidgets (bool enabled) override |
| void | SetLabelSetPreview (const mitk::MultiLabelSegmentation *preview) |
| void | ActualizePreviewLabelVisibility () |
| void | DisplayTransferWidgets (bool enabled) |
| Toggles visibility of "Transfer all labels" and "Transfer selected labels" radio buttons. More... | |
Protected Member Functions inherited from QmitkSegWithPreviewToolGUIBase | |
| QmitkSegWithPreviewToolGUIBase (bool mode2D, bool enableProcessingOfAllTimeSteps=true) | |
| ~QmitkSegWithPreviewToolGUIBase () override | |
| virtual void | DisconnectOldTool (mitk::SegWithPreviewTool *oldTool) |
| virtual void | ConnectNewTool (mitk::SegWithPreviewTool *newTool) |
| void | BusyStateChanged (bool isBusy) override |
| Called when the tool's busy state changes. Override to enable/disable UI elements. More... | |
| template<class TTool > | |
| TTool * | GetConnectedToolAs () |
| void | SetMergeStyle (mitk::MultiLabelSegmentation::MergeStyle mergeStyle) |
| void | SetOverwriteStyle (mitk::MultiLabelSegmentation::OverwriteStyle overwriteStyle) |
| QPushButton * | GetConfirmSegmentationButton () const |
| QCheckBox * | GetPreviewVisibilityCheckBox () const |
| QLabel * | GetPreviewLabel () const |
Protected Member Functions inherited from QmitkToolGUI | |
| QmitkToolGUI ()=default | |
Additional Inherited Members | |
Signals inherited from QmitkToolGUI | |
| void | NewToolAssociated (mitk::Tool *) |
| Emitted when a new tool is associated with this GUI via SetTool(). More... | |
Protected Types inherited from QmitkSegWithPreviewToolGUIBase | |
| using | EnableConfirmSegBtnFunctionType = std::function< bool(bool)> |
Protected Attributes inherited from QmitkSegWithPreviewToolGUIBase | |
| EnableConfirmSegBtnFunctionType | m_EnableConfirmSegBtnFnc |
Protected Attributes inherited from QmitkToolGUI | |
| mitk::Tool::Pointer | m_Tool |
| QmitkMultiLabelInspector * | m_MultiLabelInspector |
GUI for mitk::TotalSegmentatorTool.
A minimal panel: an Install button shown only until the managed environment exists, a Settings button opening the preference page, a task combo box (with fast / fastest variants for the whole-body tasks and disabled-but-visible licensed tasks) and a Run button. The long-running segmentation is executed by a subprocess through RunProcess() so the application stays responsive and the run can be cancelled.
Definition at line 48 of file QmitkTotalSegmentatorToolGUI.h.
|
protected |
|
overrideprotected |
|
overrideprotectedvirtual |
This method is called by OnNewToolAssociated if the UI is initialized the first time to allow derived classes to introduce own UI code. Overwrite to change. The implementation should ensure that alle widgets needed for the tool UI are properly allocated. If one needs to eecute time (e.g. to connect events between the tool and the UI) each time the tool changes, override the functions ConnectNewTool() and DisconnectOldTool().
Reimplemented from QmitkSegWithPreviewToolGUIBase.
| QmitkTotalSegmentatorToolGUI::mitkClassMacro | ( | QmitkTotalSegmentatorToolGUI | , |
| QmitkMultiLabelSegWithPreviewToolGUIBase | |||
| ) |
|
static |
|
protectedslot |
|
protectedslot |
|
protectedslot |