Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
mitkModelParameterizerBase.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 mitkModelParameterizerBase_h
14 #define mitkModelParameterizerBase_h
15 
16 #include <itkObject.h>
17 #include <itkIndex.h>
18 
19 #include "mitkModelBase.h"
21 
22 #include "MitkModelFitExports.h"
23 
24 namespace mitk
25 {
37  {
38  public:
40  typedef itk::Object Superclass;
43 
44  itkTypeMacro(ModelParameterizerBase, itk::Object);
45 
46  typedef ModelBase ModelBaseType;
48 
54 
55  typedef ::itk::Index<3> IndexType;
56 
57  virtual StaticParameterMapType GetGlobalStaticParameters() const = 0;
58  virtual StaticParameterMapType GetLocalStaticParameters(const IndexType& currentPosition) const = 0;
59 
63  ParametersType GetInitialParameterization() const;
64  ParametersType GetInitialParameterization(const IndexType& currentPosition) const;
65 
68  virtual ParametersType GetDefaultInitialParameterization() const = 0;
69 
71  void SetInitialParameterizationDelegate(const InitialParameterizationDelegateBase* delegate);
72 
73  virtual ModelBasePointer GenerateParameterizedModel(const IndexType& currentPosition) const = 0;
76  virtual ModelBasePointer GenerateParameterizedModel() const = 0;
77 
78  itkSetMacro(DefaultTimeGrid, TimeGridType);
79  itkGetConstReferenceMacro(DefaultTimeGrid, TimeGridType);
80 
81  protected:
82 
83 
85 
86  ~ModelParameterizerBase() override;
87 
89 
92  private:
93 
94  //No copy constructor allowed
95  ModelParameterizerBase(const Self& source);
96  void operator=(const Self&); //purposely not implemented
97  };
98 }
99 
100 #endif
mitk::ModelBase::StaticParameterValueType
double StaticParameterValueType
Definition: mitkModelBase.h:70
mitk::ModelParameterizerBase
Definition: mitkModelParameterizerBase.h:36
mitk::ModelParameterizerBase::StaticParameterMapType
ModelBaseType::StaticParameterMapType StaticParameterMapType
Definition: mitkModelParameterizerBase.h:52
mitk::InitialParameterizationDelegateBase
Definition: mitkInitialParameterizationDelegateBase.h:29
MitkModelFitExports.h
mitk::ModelBase::StaticParameterValuesType
std::vector< StaticParameterValueType > StaticParameterValuesType
Definition: mitkModelBase.h:71
mitk::ModelBase::ParametersType
ModelTraitsInterface::ParametersType ParametersType
Definition: mitkModelBase.h:59
itk::SmartPointer< Self >
mitk::ModelParameterizerBase::TimeGridType
ModelBaseType::TimeGridType TimeGridType
Definition: mitkModelParameterizerBase.h:53
MITKMODELFIT_EXPORT
#define MITKMODELFIT_EXPORT
Definition: MitkModelFitExports.h:15
mitkModelBase.h
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::ModelParameterizerBase::Self
ModelParameterizerBase Self
Definition: mitkModelParameterizerBase.h:39
mitk::ModelParameterizerBase::Pointer
itk::SmartPointer< Self > Pointer
Definition: mitkModelParameterizerBase.h:41
mitk::ModelParameterizerBase::IndexType
::itk::Index< 3 > IndexType
Definition: mitkModelParameterizerBase.h:55
mitk::ModelParameterizerBase::StaticParameterValuesType
ModelBaseType::StaticParameterValuesType StaticParameterValuesType
Definition: mitkModelParameterizerBase.h:51
mitk::ModelTraitsInterface
Definition: mitkModelTraitsInterface.h:24
mitk::ModelParameterizerBase::ModelBasePointer
ModelBaseType::Pointer ModelBasePointer
Definition: mitkModelParameterizerBase.h:47
mitk::ModelParameterizerBase::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: mitkModelParameterizerBase.h:42
mitk::ModelParameterizerBase::ParametersType
ModelBaseType::ParametersType ParametersType
Definition: mitkModelParameterizerBase.h:49
mitk::ModelParameterizerBase::m_InitialDelegate
InitialParameterizationDelegateBase::ConstPointer m_InitialDelegate
Definition: mitkModelParameterizerBase.h:88
mitk::ModelParameterizerBase::m_DefaultTimeGrid
TimeGridType m_DefaultTimeGrid
Definition: mitkModelParameterizerBase.h:91
mitk::ModelBase::TimeGridType
itk::Array< double > TimeGridType
Definition: mitkModelBase.h:62
mitk::ModelParameterizerBase::StaticParameterValueType
ModelBaseType::StaticParameterValueType StaticParameterValueType
Definition: mitkModelParameterizerBase.h:50
mitkInitialParameterizationDelegateBase.h
mitk::ModelBase
Base class for (dynamic) models. A model can be used to calculate its signal given the discrete time ...
Definition: mitkModelBase.h:47
mitk::ModelBase::StaticParameterMapType
std::map< ParameterNameType, StaticParameterValuesType > StaticParameterMapType
Definition: mitkModelBase.h:72
mitk::ModelParameterizerBase::ModelBaseType
ModelBase ModelBaseType
Definition: mitkModelParameterizerBase.h:44
mitk::ModelParameterizerBase::Superclass
itk::Object Superclass
Definition: mitkModelParameterizerBase.h:40