13 #ifndef mitknnInteractiveModel_h
14 #define mitknnInteractiveModel_h
25 namespace nnInteractive
#define MITKPYTHONSEGMENTATIONUI_EXPORT
ModelUpdateStatus
Outcome of comparing the selected checkpoint against the library's recommended default.
@ UpdateAvailable
A different checkpoint is now recommended as the default.
@ UpToDate
The selection already matches the recommended default.
@ Unknown
Could not determine (offline, no model management, or empty list).
ModelListStatus
Outcome of a ListModels() query, distinguishing an empty manifest from a hard failure.
@ Ok
The query ran and returned at least one model.
@ Empty
The query ran but the manifest contains no models.
@ Failed
The query could not run (no environment, offline, no model management).
MITKPYTHONSEGMENTATIONUI_EXPORT std::vector< ModelInfo > ListModels(const std::string &venvName, ModelListStatus *status=nullptr, QWidget *parent=nullptr)
Lists the model checkpoints known to nnInteractive's model management.
MITKPYTHONSEGMENTATIONUI_EXPORT ModelCheckResult CheckModelUpdate(const std::string &venvName, const std::string &selectedModelId, QWidget *parent=nullptr)
Checks whether a checkpoint newer than the selected one is recommended.
Find image slices visible on a given plane.
Result of CheckModelUpdate().
std::string RecommendedId
The manifest's default model id (empty when unknown).
std::string CurrentId
The model id that was checked.
A model checkpoint entry as reported by nnInteractive's model management.
std::string DisplayName
Human-readable name (falls back to Id).
std::string Id
Model id, e.g. "nnInteractive_v1.0".
bool Downloaded
Whether the checkpoint is already available locally.
bool IsDefault
Whether this is the manifest's recommended default.