Medical Imaging Interaction Toolkit  2025.12.02
Medical Imaging Interaction Toolkit
mitkModelFitProviderBase.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 mitkModelFitProviderBase_h
14 #define mitkModelFitProviderBase_h
15 
16 #include <memory>
17 
18 // MITK
19 #include <mitkIModelFitProvider.h>
20 
21 // Microservices
22 #include <usGetModuleContext.h>
23 #include <usServiceProperties.h>
24 #include <usServiceRegistration.h>
25 
26 namespace mitk
27 {
31  template<class TModelFactory>
33  {
34  public:
37 
44 
47 
50 
51  protected:
52 
54 
56 
67  void SetRanking(int ranking);
68  int GetRanking() const;
69 
70  private:
71  ModelFitProviderBase &operator=(const ModelFitProviderBase &other);
72 
73  class Impl;
74  std::unique_ptr< Impl > d;
75  };
76 
77 } // namespace mitk
78 
79 
80 #ifndef ITK_MANUAL_INSTANTIATION
81 #include "mitkModelFitProviderBase.tpp"
82 #endif
83 
84 #endif
itk::Array< double > TimeGridType
Definition: mitkModelBase.h:62
Base class for model fit provider.
ModelBase::TimeGridType GetVariableGrid(const modelFit::ModelFitInfo *fitInfo) const override
us::ServiceRegistration< IModelFitProvider > RegisterService(us::ModuleContext *context=us::GetModuleContext())
ModelFitProviderBase(const ModelFitProviderBase &other)
void SetRanking(int ranking)
Set the service ranking for this file reader.
virtual us::ServiceProperties GetServiceProperties() const
itk::SmartPointer< ModelFactoryBase > GenerateFactory() const override
Data class that stores all information about a modelfit that is relevant to the visualization and sto...
static ModuleContext * GetModuleContext()
Returns the module context of the calling module.
US_UNORDERED_MAP_TYPE< std::string, Any > ServiceProperties
Find image slices visible on a given plane.
The common interface for all model providers for model fitting.