#include <QmitknnUNetToolGUI.h>
Definition at line 48 of file QmitknnUNetToolGUI.h.
◆ QmitknnUNetToolGUI()
QmitknnUNetToolGUI::QmitknnUNetToolGUI |
( |
| ) |
|
|
protected |
◆ ~QmitknnUNetToolGUI()
QmitknnUNetToolGUI::~QmitknnUNetToolGUI |
( |
| ) |
|
|
protected |
◆ Clone()
Pointer QmitknnUNetToolGUI::Clone |
( |
| ) |
const |
◆ ConnectNewTool()
◆ EnableWidgets()
void QmitknnUNetToolGUI::EnableWidgets |
( |
bool |
enabled | ) |
|
|
overrideprotectedvirtual |
This method is used to control/set the enabled state of the tool UI widgets. It is e.g. used if the busy state is changed (see BusyStateChanged). Override the default implementation, e.g. if a tool adds his own UI elements (normally by overriding InitializeUI()) and wants to control how the widgets are enabled/disabled.
Reimplemented from QmitkMultiLabelSegWithPreviewToolGUIBase.
◆ InitializeUI()
void QmitknnUNetToolGUI::InitializeUI |
( |
QBoxLayout * |
mainLayout | ) |
|
|
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.
◆ mitkClassMacro()
◆ New()
static Pointer QmitknnUNetToolGUI::New |
( |
| ) |
|
|
static |
◆ OnCheckBoxChanged
void QmitknnUNetToolGUI::OnCheckBoxChanged |
( |
int |
| ) |
|
|
protectedslot |
◆ OnClearCachePressed
void QmitknnUNetToolGUI::OnClearCachePressed |
( |
| ) |
|
|
protectedslot |
◆ OnDirectoryChanged
void QmitknnUNetToolGUI::OnDirectoryChanged |
( |
const QString & |
| ) |
|
|
protectedslot |
◆ OnDownloadModel
void QmitknnUNetToolGUI::OnDownloadModel |
( |
| ) |
|
|
protectedslot |
◆ OnDownloadWorkerExit
void QmitknnUNetToolGUI::OnDownloadWorkerExit |
( |
bool |
, |
|
|
const |
QString |
|
) |
| |
|
protectedslot |
◆ OnModalitiesNumberChanged
void QmitknnUNetToolGUI::OnModalitiesNumberChanged |
( |
int |
| ) |
|
|
protectedslot |
◆ OnModelChanged
void QmitknnUNetToolGUI::OnModelChanged |
( |
const QString & |
| ) |
|
|
protectedslot |
◆ OnPreviewRequested
void QmitknnUNetToolGUI::OnPreviewRequested |
( |
| ) |
|
|
protectedslot |
◆ OnPythonPathChanged
void QmitknnUNetToolGUI::OnPythonPathChanged |
( |
const QString & |
| ) |
|
|
protectedslot |
◆ OnRefreshPresssed
void QmitknnUNetToolGUI::OnRefreshPresssed |
( |
| ) |
|
|
protectedslot |
◆ OnStopDownload
void QmitknnUNetToolGUI::OnStopDownload |
( |
| ) |
|
|
protectedslot |
◆ OnTaskChanged
void QmitknnUNetToolGUI::OnTaskChanged |
( |
const QString & |
| ) |
|
|
protectedslot |
◆ OnTrainerChanged
void QmitknnUNetToolGUI::OnTrainerChanged |
( |
const QString & |
| ) |
|
|
protectedslot |
◆ Operate
signal for starting the segmentation which is caught by a worker thread.
◆ SegmentationProcessFailed
void QmitknnUNetToolGUI::SegmentationProcessFailed |
( |
| ) |
|
|
protectedslot |
Qthread slot to capture failures from thread worker and shows error message.
◆ SegmentationResultHandler
void QmitknnUNetToolGUI::SegmentationResultHandler |
( |
mitk::nnUNetTool * |
, |
|
|
bool |
forceRender = false |
|
) |
| |
|
protectedslot |
Qthread to capture successful nnUNet segmentation. Further, renders the LabelSet image.
◆ m_Cache
QCache<size_t, nnUNetCache> QmitknnUNetToolGUI::m_Cache |
◆ m_Processes
The documentation for this class was generated from the following file: