GUI for mitk::TotalSegmentatorTool.
More...
#include <QmitkTotalSegmentatorToolGUI.h>
◆ QmitkTotalSegmentatorToolGUI()
| QmitkTotalSegmentatorToolGUI::QmitkTotalSegmentatorToolGUI |
( |
| ) |
|
|
protected |
◆ ~QmitkTotalSegmentatorToolGUI()
| QmitkTotalSegmentatorToolGUI::~QmitkTotalSegmentatorToolGUI |
( |
| ) |
|
|
protecteddefault |
◆ AutoParsePythonPaths()
| void QmitkTotalSegmentatorToolGUI::AutoParsePythonPaths |
( |
| ) |
|
|
protected |
Searches and parses paths of python virtual environments from predefined lookout locations.
◆ Clone()
| Pointer QmitkTotalSegmentatorToolGUI::Clone |
( |
| ) |
const |
◆ ConnectNewTool()
◆ EnableAll()
| void QmitkTotalSegmentatorToolGUI::EnableAll |
( |
bool |
| ) |
|
|
protected |
Enable (or Disable) GUI elements.
◆ FetchSelectedGPUFromUI()
| unsigned int QmitkTotalSegmentatorToolGUI::FetchSelectedGPUFromUI |
( |
| ) |
const |
|
protected |
Returns GPU id of the selected GPU from the Combo box.
- Returns
- unsigned int
◆ GetPythonPathFromUI()
| QString QmitkTotalSegmentatorToolGUI::GetPythonPathFromUI |
( |
const QString & |
| ) |
const |
|
protected |
Get the virtual env path from UI combobox removing any extra special characters.
- Returns
- QString
◆ InitializeUI()
| void QmitkTotalSegmentatorToolGUI::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.
◆ IsTotalSegmentatorInstalled()
| bool QmitkTotalSegmentatorToolGUI::IsTotalSegmentatorInstalled |
( |
const QString & |
| ) |
|
|
protected |
Checks if TotalSegmentator command is valid in the selected python virtual environment.
- Returns
- bool
◆ mitkClassMacro()
◆ New()
| static Pointer QmitkTotalSegmentatorToolGUI::New |
( |
| ) |
|
|
static |
◆ OnClearInstall
| void QmitkTotalSegmentatorToolGUI::OnClearInstall |
( |
| ) |
|
|
protectedslot |
◆ OnInstallBtnClicked
| void QmitkTotalSegmentatorToolGUI::OnInstallBtnClicked |
( |
| ) |
|
|
protectedslot |
◆ OnOverrideChecked
| void QmitkTotalSegmentatorToolGUI::OnOverrideChecked |
( |
int |
| ) |
|
|
protectedslot |
◆ OnPreviewBtnClicked
| void QmitkTotalSegmentatorToolGUI::OnPreviewBtnClicked |
( |
| ) |
|
|
protectedslot |
◆ OnPythonPathChanged
| void QmitkTotalSegmentatorToolGUI::OnPythonPathChanged |
( |
const QString & |
| ) |
|
|
protectedslot |
◆ OnSystemPythonChanged
| std::pair<QString, QString> QmitkTotalSegmentatorToolGUI::OnSystemPythonChanged |
( |
const QString & |
| ) |
|
|
protectedslot |
◆ SetGPUInfo()
| void QmitkTotalSegmentatorToolGUI::SetGPUInfo |
( |
| ) |
|
|
protected |
Adds GPU information to the gpu combo box. In case, there aren't any GPUs available, the combo box will be rendered editable.
◆ ShowErrorMessage()
| void QmitkTotalSegmentatorToolGUI::ShowErrorMessage |
( |
const std::string & |
, |
|
|
QMessageBox::Icon |
= QMessageBox::Critical |
|
) |
| |
|
protected |
Creates a QMessage object and shows on screen.
◆ WriteErrorMessage()
| void QmitkTotalSegmentatorToolGUI::WriteErrorMessage |
( |
const QString & |
| ) |
|
|
protected |
Writes any message in red on the tool pane.
◆ WriteStatusMessage()
| void QmitkTotalSegmentatorToolGUI::WriteStatusMessage |
( |
const QString & |
| ) |
|
|
protected |
Writes any message in white on the tool pane.
◆ m_Controls
| Ui_QmitkTotalSegmentatorToolGUIControls QmitkTotalSegmentatorToolGUI::m_Controls |
|
protected |
◆ m_FirstPreviewComputation
| bool QmitkTotalSegmentatorToolGUI::m_FirstPreviewComputation |
|
protected |
◆ m_GpuLoader
◆ m_Installer
◆ m_IsInstalled
| bool QmitkTotalSegmentatorToolGUI::m_IsInstalled |
|
protected |
◆ m_PythonPath
| QString QmitkTotalSegmentatorToolGUI::m_PythonPath |
|
protected |
◆ m_Settings
| QSettings QmitkTotalSegmentatorToolGUI::m_Settings |
|
protected |
◆ m_SuperclassEnableConfirmSegBtnFnc
◆ VALID_TASKS
| const QStringList QmitkTotalSegmentatorToolGUI::VALID_TASKS |
|
protected |
◆ WARNING_TOTALSEG_NOT_FOUND
| const std::string QmitkTotalSegmentatorToolGUI::WARNING_TOTALSEG_NOT_FOUND |
|
protected |
The documentation for this class was generated from the following file: