Medical Imaging Interaction Toolkit
2025.08.99-f7084adb
Medical Imaging Interaction Toolkit
|
#include <QmitkTotalSegmentatorToolGUI.h>
Public Member Functions | |
mitkClassMacro (QmitkTotalSegmentatorToolGUI, QmitkMultiLabelSegWithPreviewToolGUIBase) | |
Pointer | Clone () const |
![]() | |
mitkClassMacro (QmitkMultiLabelSegWithPreviewToolGUIBase, QmitkSegWithPreviewToolGUIBase) | |
![]() | |
mitkClassMacro (QmitkSegWithPreviewToolGUIBase, QmitkToolGUI) | |
Pointer | Clone () const |
virtual bool | GetMode2D () const |
![]() | |
mitkClassMacroItkParent (QmitkToolGUI, itk::Object) | |
void | SetTool (mitk::Tool *tool) |
void | Register () const override |
void | UnRegister () const ITK_NOEXCEPT ITK_OVERRIDE |
void | SetReferenceCount (int) override |
~QmitkToolGUI () override | |
Static Public Member Functions | |
static Pointer | New () |
Protected Slots | |
void | OnPreviewBtnClicked () |
Qt Slot. More... | |
![]() | |
void | OnLabelSelectionChanged (const QmitkSimpleLabelSetListWidget::LabelVectorType &selectedLabels) |
void | OnRadioTransferAllClicked (bool checked) |
![]() | |
void | OnNewToolAssociated (mitk::Tool *) |
void | OnAcceptPreview () |
Protected Member Functions | |
QmitkTotalSegmentatorToolGUI () | |
~QmitkTotalSegmentatorToolGUI () override | |
void | ConnectNewTool (mitk::SegWithPreviewTool *newTool) override |
void | InitializeUI (QBoxLayout *mainLayout) override |
void | EnableAll (bool) |
Enable (or Disable) GUI elements. More... | |
void | ToggleLicensedTasks (bool activate) |
Adds and removes licensed task in combo box. More... | |
void | ShowErrorMessage (const std::string &, QMessageBox::Icon=QMessageBox::Critical) |
Creates a QMessage object and shows on screen. More... | |
void | WriteStatusMessage (const QString &) |
Writes any message in white on the tool pane. More... | |
void | WriteErrorMessage (const QString &) |
Writes any message in red on the tool pane. More... | |
void | OnPreferenceChangedEvent (const mitk::IPreferences::ChangeEvent &) |
Checks for changes in preferences. More... | |
void | DownloadStatusWorker (const bool isDownloading) |
Update status label as per status received from mitk::Message event. More... | |
![]() | |
QmitkMultiLabelSegWithPreviewToolGUIBase () | |
~QmitkMultiLabelSegWithPreviewToolGUIBase ()=default | |
void | EnableWidgets (bool enabled) override |
void | SetLabelSetPreview (const mitk::MultiLabelSegmentation *preview) |
void | ActualizePreviewLabelVisibility () |
void | DisplayTransferWidgets (bool enabled) |
To toggle visibility of "Transfer all labels" and "Transfer selected labels" radio buttons. More... | |
![]() | |
QmitkSegWithPreviewToolGUIBase (bool mode2D, bool enableProcessingOfAllTimeSteps=true) | |
~QmitkSegWithPreviewToolGUIBase () override | |
virtual void | DisconnectOldTool (mitk::SegWithPreviewTool *oldTool) |
void | BusyStateChanged (bool isBusy) override |
template<class TTool > | |
TTool * | GetConnectedToolAs () |
void | SetMergeStyle (mitk::MultiLabelSegmentation::MergeStyle mergeStyle) |
void | SetOverwriteStyle (mitk::MultiLabelSegmentation::OverwriteStyle overwriteStyle) |
QPushButton * | GetConfirmSegmentationButton () const |
![]() | |
QmitkToolGUI ()=default | |
Protected Attributes | |
QMutex | m_Mutex |
Ui::QmitkTotalSegmentatorToolGUIControls * | m_Controls |
bool | m_FirstPreviewComputation |
EnableConfirmSegBtnFunctionType | m_SuperclassEnableConfirmSegBtnFnc |
mitk::IPreferences * | m_Preferences |
const QStringList | VALID_TASKS |
const QStringList | LICENSED_TASKS |
![]() | |
EnableConfirmSegBtnFunctionType | m_EnableConfirmSegBtnFnc |
![]() | |
mitk::Tool::Pointer | m_Tool |
Additional Inherited Members | |
![]() | |
void | NewToolAssociated (mitk::Tool *) |
![]() | |
using | EnableConfirmSegBtnFunctionType = std::function< bool(bool)> |
Definition at line 32 of file QmitkTotalSegmentatorToolGUI.h.
|
protected |
|
overrideprotected |
Pointer QmitkTotalSegmentatorToolGUI::Clone | ( | ) | const |
|
overrideprotectedvirtual |
Reimplemented from QmitkSegWithPreviewToolGUIBase.
|
protected |
Update status label as per status received from mitk::Message event.
|
protected |
Enable (or Disable) GUI elements.
|
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 QmitkMultiLabelSegWithPreviewToolGUIBase.
QmitkTotalSegmentatorToolGUI::mitkClassMacro | ( | QmitkTotalSegmentatorToolGUI | , |
QmitkMultiLabelSegWithPreviewToolGUIBase | |||
) |
|
static |
|
protected |
Checks for changes in preferences.
|
protectedslot |
Qt Slot.
|
protected |
Creates a QMessage object and shows on screen.
|
protected |
Adds and removes licensed task in combo box.
|
protected |
Writes any message in red on the tool pane.
|
protected |
Writes any message in white on the tool pane.
|
protected |
Definition at line 117 of file QmitkTotalSegmentatorToolGUI.h.
|
protected |
Definition at line 91 of file QmitkTotalSegmentatorToolGUI.h.
|
protected |
Definition at line 92 of file QmitkTotalSegmentatorToolGUI.h.
|
protected |
Definition at line 90 of file QmitkTotalSegmentatorToolGUI.h.
|
protected |
Definition at line 94 of file QmitkTotalSegmentatorToolGUI.h.
|
protected |
Definition at line 93 of file QmitkTotalSegmentatorToolGUI.h.
|
protected |
Definition at line 95 of file QmitkTotalSegmentatorToolGUI.h.