Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
QmitkTotalSegmentatorToolInstaller.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef QmitkTotalSegmentatorToolInstaller_h
14 #define QmitkTotalSegmentatorToolInstaller_h
15 
17 
19 {
20 public:
21  static const QString VENV_NAME;
22  static const QString TOTALSEGMENTATOR_VERSION;
23  static const std::vector<QString> PACKAGES;
24  static const QString STORAGE_DIR;
26  bool SetupVirtualEnv(const QString &) override;
27  QString GetVirtualEnvPath() override;
28  static void PrintProcessEvent(itk::Object *, const itk::EventObject &e, void *);
29 };
30 
31 #endif
QmitkTotalSegmentatorToolInstaller
Definition: QmitkTotalSegmentatorToolInstaller.h:18
QmitkTotalSegmentatorToolInstaller::QmitkTotalSegmentatorToolInstaller
QmitkTotalSegmentatorToolInstaller()
QmitkSetupVirtualEnvUtil
Abstract Class to Setup a python virtual environment and pip install required packages....
Definition: QmitkSetupVirtualEnvUtil.h:25
QmitkSetupVirtualEnvUtil.h
QmitkTotalSegmentatorToolInstaller::SetupVirtualEnv
bool SetupVirtualEnv(const QString &) override
Implement the method in child class to setup the virtual environment.
QmitkTotalSegmentatorToolInstaller::TOTALSEGMENTATOR_VERSION
static const QString TOTALSEGMENTATOR_VERSION
Definition: QmitkTotalSegmentatorToolInstaller.h:22
QmitkTotalSegmentatorToolInstaller::PrintProcessEvent
static void PrintProcessEvent(itk::Object *, const itk::EventObject &e, void *)
QmitkTotalSegmentatorToolInstaller::PACKAGES
static const std::vector< QString > PACKAGES
Definition: QmitkTotalSegmentatorToolInstaller.h:23
QmitkTotalSegmentatorToolInstaller::STORAGE_DIR
static const QString STORAGE_DIR
Definition: QmitkTotalSegmentatorToolInstaller.h:24
QmitkTotalSegmentatorToolInstaller::GetVirtualEnvPath
QString GetVirtualEnvPath() override
Get the Virtual Env Path object. Override this method in the respective tool installer class.
QmitkTotalSegmentatorToolInstaller::VENV_NAME
static const QString VENV_NAME
Definition: QmitkTotalSegmentatorToolInstaller.h:21