Medical Imaging Interaction Toolkit  2025.12.02
Medical Imaging Interaction Toolkit
mitkDescriptivePharmacokineticBrixModel.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 mitkDescriptivePharmacokineticBrixModel_h
14 #define mitkDescriptivePharmacokineticBrixModel_h
15 
16 #include <iostream>
17 
18 #include "mitkModelBase.h"
20 
21 namespace mitk
22 {
23 
25  {
26 
27  public:
32 
34  itkFactorylessNewMacro(Self);
35  itkCloneMacro(Self);
36 
39 
40  static const std::string MODEL_DISPLAY_NAME;
41 
42  static const std::string NAME_PARAMETER_A;
43  static const std::string NAME_PARAMETER_kep;
44  static const std::string NAME_PARAMETER_kel;
45  static const std::string NAME_PARAMETER_BAT;
46 
47  static const std::string NAME_STATIC_PARAMETER_tau;
48  static const std::string NAME_STATIC_PARAMETER_s0;
49 
50  static const std::string UNIT_PARAMETER_A;
51  static const std::string UNIT_PARAMETER_kep;
52  static const std::string UNIT_PARAMETER_kel;
53  static const std::string UNIT_PARAMETER_BAT;
54 
55  static const std::string UNIT_STATIC_PARAMETER_tau;
56  static const std::string UNIT_STATIC_PARAMETER_s0;
57 
58  static const unsigned int POSITION_PARAMETER_A;
59  static const unsigned int POSITION_PARAMETER_kep;
60  static const unsigned int POSITION_PARAMETER_kel;
61  static const unsigned int POSITION_PARAMETER_BAT;
62 
63  static const unsigned int NUMBER_OF_PARAMETERS;
64 
65  static const unsigned int NUMBER_OF_STATIC_PARAMETERS;
66 
67  static const std::string MODEL_TYPE;
68 
69  static const std::string X_AXIS_NAME;
70 
71  static const std::string X_AXIS_UNIT;
72 
73  static const std::string Y_AXIS_NAME;
74 
75  static const std::string Y_AXIS_UNIT;
76 
77  itkSetMacro(Tau, double);
78  itkGetConstReferenceMacro(Tau, double);
79 
80  itkSetMacro(S0, double);
81  itkGetConstReferenceMacro(S0, double);
82 
83  std::string GetModelDisplayName() const override;
84 
85  std::string GetModelType() const override;
86 
87  std::string GetXAxisName() const override;
88 
89  std::string GetXAxisUnit() const override;
90 
91  std::string GetYAxisName() const override;
92 
93  std::string GetYAxisUnit() const override;
94 
96 
98 
100 
101 
105 
106  protected:
109 
114  itk::LightObject::Pointer InternalClone() const override;
115 
116  ModelResultType ComputeModelfunction(const ParametersType& parameters) const override;
117 
119  const StaticParameterValuesType& values) override;
120 
122  override;
123 
124  void PrintSelf(std::ostream& os, ::itk::Indent indent) const override;
125 
126  private:
128  double m_Tau;
129 
132  double m_S0;
133 
134  //No copy constructor allowed
136  void operator=(const Self&); //purposely not implemented
137 
138 
139  };
140 }
141 
142 
143 #endif
#define MITKPHARMACOKINETICS_EXPORT
ModelResultType ComputeModelfunction(const ParametersType &parameters) const override
StaticParameterValuesType GetStaticParameterValue(const ParameterNameType &name) const override
void SetStaticParameter(const ParameterNameType &name, const StaticParameterValuesType &values) override
ParametersSizeType GetNumberOfParameters() const override
std::string GetModelDisplayName() const override
std::string GetModelType() const override
itk::LightObject::Pointer InternalClone() const override
ParameterNamesType GetStaticParameterNames() const override
ParameterNamesType GetParameterNames() const override
std::string GetXAxisName() const override
ParamterUnitMapType GetStaticParameterUnits() const override
std::string GetYAxisName() const override
ParametersSizeType GetNumberOfStaticParameters() const override
std::string GetYAxisUnit() const override
void PrintSelf(std::ostream &os, ::itk::Indent indent) const override
std::string GetXAxisUnit() const override
ParamterUnitMapType GetParameterUnits() const override
Base class for (dynamic) models. A model can be used to calculate its signal given the discrete time ...
Definition: mitkModelBase.h:48
ModelTraitsInterface::ParametersSizeType ParametersSizeType
Definition: mitkModelBase.h:65
ModelTraitsInterface::ParameterNamesType ParameterNamesType
Definition: mitkModelBase.h:64
std::vector< StaticParameterValueType > StaticParameterValuesType
Definition: mitkModelBase.h:71
ModelTraitsInterface::ParameterNameType ParameterNameType
Definition: mitkModelBase.h:63
ModelTraitsInterface::ModelResultType ModelResultType
Definition: mitkModelBase.h:55
ModelTraitsInterface::ParametersType ParametersType
Definition: mitkModelBase.h:59
std::map< ParameterNameType, std::string > ParamterUnitMapType
Find image slices visible on a given plane.