Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
mitkAIFBasedModelParameterizerBase.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 #ifndef mitkAIFBasedModelParameterizerBase_h
13 #define mitkAIFBasedModelParameterizerBase_h
14 
17 #include "mitkAIFBasedModelBase.h"
18 
19 namespace mitk
20 {
23  template <class TAIFBasedModel>
25  <TAIFBasedModel>
26  {
27  public:
32 
34 
35  typedef typename Superclass::ModelBaseType ModelBaseType;
36  typedef typename Superclass::ModelBasePointer ModelBasePointer;
37 
38  typedef typename Superclass::ModelType ModelType;
39  typedef typename Superclass::ModelPointer ModelPointer;
40 
41  typedef typename Superclass::StaticParameterValueType StaticParameterValueType;
42  typedef typename Superclass::StaticParameterValuesType StaticParameterValuesType;
43  typedef typename Superclass::StaticParameterMapType StaticParameterMapType;
44 
45 
46  typedef typename Superclass::IndexType IndexType;
47 
49  itkGetConstReferenceMacro(AIF, mitk::AIFBasedModelBase::AterialInputFunctionType);
50 
51  itkSetMacro(AIFTimeGrid, mitk::ModelBase::TimeGridType);
52  itkGetConstReferenceMacro(AIFTimeGrid, mitk::ModelBase::TimeGridType);
53 
54 
59  {
62  StaticParameterValuesType valuesAIFGrid = mitk::convertArrayToParameter(this->m_AIFTimeGrid);
63 
64  result.insert(std::make_pair(ModelType::NAME_STATIC_PARAMETER_AIF, valuesAIF));
65  result.insert(std::make_pair(ModelType::NAME_STATIC_PARAMETER_AIFTimeGrid, valuesAIFGrid));
66 
67  return result;
68  };
69 
70 
71  protected:
72 
74  {};
75 
77  {};
78 
79 
82 
83 
84  private:
85 
86  //No copy constructor allowed
87  AIFBasedModelParameterizerBase(const Self& source);
88  void operator=(const Self&); //purposely not implemented
89  };
90 
91 }
92 #endif
MITKPHARMACOKINETICS_EXPORT
#define MITKPHARMACOKINETICS_EXPORT
Definition: MitkPharmacokineticsExports.h:15
mitk::AIFBasedModelParameterizerBase::ModelBaseType
Superclass::ModelBaseType ModelBaseType
Definition: mitkAIFBasedModelParameterizerBase.h:33
mitk::AIFBasedModelParameterizerBase::m_AIFTimeGrid
mitk::ModelBase::TimeGridType m_AIFTimeGrid
Definition: mitkAIFBasedModelParameterizerBase.h:81
mitk::AIFBasedModelParameterizerBase::Self
AIFBasedModelParameterizerBase< TAIFBasedModel > Self
Definition: mitkAIFBasedModelParameterizerBase.h:28
mitk::AIFBasedModelBase::AterialInputFunctionType
itk::Array< double > AterialInputFunctionType
Definition: mitkAIFBasedModelBase.h:62
mitkAIFBasedModelBase.h
mitk::AIFBasedModelParameterizerBase::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: mitkAIFBasedModelParameterizerBase.h:31
mitk::ModelParameterizerBase
Definition: mitkModelParameterizerBase.h:36
mitk::ModelParameterizerBase::StaticParameterMapType
ModelBaseType::StaticParameterMapType StaticParameterMapType
Definition: mitkModelParameterizerBase.h:52
mitk::AIFBasedModelParameterizerBase::Pointer
itk::SmartPointer< Self > Pointer
Definition: mitkAIFBasedModelParameterizerBase.h:30
mitk::convertArrayToParameter
MITKPHARMACOKINETICS_EXPORT ModelBase::StaticParameterValuesType convertArrayToParameter(itk::Array< double > array)
mitk::AIFBasedModelParameterizerBase::StaticParameterValueType
Superclass::StaticParameterValueType StaticParameterValueType
Definition: mitkAIFBasedModelParameterizerBase.h:41
itk::SmartPointer< Self >
mitk::AIFBasedModelParameterizerBase::ModelType
Superclass::ModelType ModelType
Definition: mitkAIFBasedModelParameterizerBase.h:38
mitk::ConcreteModelParameterizerBase
Definition: mitkConcreteModelParameterizerBase.h:21
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::AIFBasedModelParameterizerBase::ModelPointer
Superclass::ModelPointer ModelPointer
Definition: mitkAIFBasedModelParameterizerBase.h:39
mitk::ModelParameterizerBase::StaticParameterValuesType
ModelBaseType::StaticParameterValuesType StaticParameterValuesType
Definition: mitkModelParameterizerBase.h:51
mitk::AIFBasedModelParameterizerBase
Definition: mitkAIFBasedModelParameterizerBase.h:24
mitk::AIFBasedModelParameterizerBase::IndexType
Superclass::IndexType IndexType
Definition: mitkAIFBasedModelParameterizerBase.h:46
mitk::AIFBasedModelParameterizerBase::Superclass
ConcreteModelParameterizerBase< TAIFBasedModel > Superclass
Definition: mitkAIFBasedModelParameterizerBase.h:29
mitk::AIFBasedModelParameterizerBase::StaticParameterValuesType
Superclass::StaticParameterValuesType StaticParameterValuesType
Definition: mitkAIFBasedModelParameterizerBase.h:42
mitkConcreteModelParameterizerBase.h
mitk::AIFBasedModelParameterizerBase::ModelBasePointer
Superclass::ModelBasePointer ModelBasePointer
Definition: mitkAIFBasedModelParameterizerBase.h:36
mitk::AIFBasedModelParameterizerBase::StaticParameterMapType
Superclass::StaticParameterMapType StaticParameterMapType
Definition: mitkAIFBasedModelParameterizerBase.h:43
mitk::ModelBase::TimeGridType
itk::Array< double > TimeGridType
Definition: mitkModelBase.h:62
mitk::AIFBasedModelParameterizerBase::AIFBasedModelParameterizerBase
AIFBasedModelParameterizerBase()
Definition: mitkAIFBasedModelParameterizerBase.h:73
mitk::AIFBasedModelParameterizerBase::~AIFBasedModelParameterizerBase
~AIFBasedModelParameterizerBase() override
Definition: mitkAIFBasedModelParameterizerBase.h:76
mitk::AIFBasedModelParameterizerBase::GetGlobalStaticParameters
StaticParameterMapType GetGlobalStaticParameters() const override
Definition: mitkAIFBasedModelParameterizerBase.h:58
mitkAIFParametrizerHelper.h