Medical Imaging Interaction Toolkit  2025.12.02
Medical Imaging Interaction Toolkit
QmitkSegmentAnythingToolInstaller.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 QmitkSegmentAnythingToolInstaller_h
14 #define QmitkSegmentAnythingToolInstaller_h
15 
16 #include <QApplication>
18 #include <QStringList>
19 
21 {
22 public:
23  static const QString VENV_NAME;
24  static const QString SAM_VERSION; // currently, unused
25  static const QStringList PACKAGES;
26  static const QString STORAGE_DIR;
28  QString GetVirtualEnvPath() override;
29  static void PrintProcessEvent(itk::Object *, const itk::EventObject &e, void *);
30 };
31 
32 #endif
static void PrintProcessEvent(itk::Object *, const itk::EventObject &e, void *)
QString GetVirtualEnvPath() override
Get the Virtual Env Path object. Override this method in the respective tool installer class.
Abstract Class to Setup a python virtual environment and pip install required packages....