Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitknnInteractiveInstall.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 mitknnInteractiveInstall_h
14 #define mitknnInteractiveInstall_h
15 
17 
18 #include <mitkPipPackageInfo.h>
19 
20 #include <string>
21 
22 namespace mitk
23 {
24  class IPreferences;
25 
26  namespace nnInteractive
27  {
40  MITKPYTHONSEGMENTATIONUI_EXPORT PipInstallSpec BuildInstallSpec(IPreferences* prefs, const std::string& venvName, bool clientOnly);
41 
52  MITKPYTHONSEGMENTATIONUI_EXPORT PipInstallSpec BuildUpgradeSpec(const std::string& venvName, bool clientOnly);
53  }
54 }
55 
56 #endif
#define MITKPYTHONSEGMENTATIONUI_EXPORT
Interface to application preferences.
MITKPYTHONSEGMENTATIONUI_EXPORT PipInstallSpec BuildInstallSpec(IPreferences *prefs, const std::string &venvName, bool clientOnly)
Builds the pip install spec for a fresh nnInteractive install.
MITKPYTHONSEGMENTATIONUI_EXPORT PipInstallSpec BuildUpgradeSpec(const std::string &venvName, bool clientOnly)
Builds the pip spec for an in-place update of an existing install.
Find image slices visible on a given plane.
Full specification for a pip installation run.