Medical Imaging Interaction Toolkit  2021.10.99-9c07a326
Medical Imaging Interaction Toolkit
mitkIModelFitProvider.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 __I_MODEL_FIT_PROVIDER_H
14 #define __I_MODEL_FIT_PROVIDER_H
15 
16 #include <mitkServiceInterface.h>
17 #include <mitkModelBase.h>
18 
19 #include "MitkModelFitExports.h"
20 
21 namespace mitk
22 {
23  class ModelFactoryBase;
24  namespace modelFit
25  {
26  class ModelFitInfo;
27  }
28 }
29 
30 namespace itk
31 {
32  template <class T>
33  class SmartPointer;
34 }
35 
36 namespace mitk
37 {
53  {
54  virtual ~IModelFitProvider();
55 
59  virtual itk::SmartPointer<ModelFactoryBase> GenerateFactory() const = 0;
60 
69  virtual ModelBase::TimeGridType GetVariableGrid(const modelFit::ModelFitInfo* fitInfo) const = 0;
70 
78  static std::string PROP_DESCRIPTION();
79 
87  static std::string PROP_MODEL_CLASS_ID();
88 
96  static std::string PROP_MODEL_TYPE();
97  };
98 
99 } // namespace mitk
100 
101 MITK_DECLARE_SERVICE_INTERFACE(mitk::IModelFitProvider, "org.mitk.IModelFitProvider")
102 
103 #endif /* __I_MODEL_FIT_PROVIDER_H */
#define MITK_DECLARE_SERVICE_INTERFACE(IFace, IId)
DataCollection - Class to facilitate loading/accessing structured data.
itk::Array< double > TimeGridType
Definition: mitkModelBase.h:62
#define MITKMODELFIT_EXPORT
Data class that stores all information about a modelfit that is relevant to the visualization and sto...
The common interface for all model providers for model fitting.