Medical Imaging Interaction Toolkit  2018.4.99-a3d2e8fb
Medical Imaging Interaction Toolkit
mitkThreeStepLinearModel.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 MITKTHREESTEPLINEARMODEL_H
14 #define MITKTHREESTEPLINEARMODEL_H
15 
16 #include "mitkModelBase.h"
17 
19 
20 namespace mitk
21 {
22 
24  {
25 
26  public:
31 
32  typedef Superclass::ParameterNameType ParameterNameType;
33  typedef Superclass::ParametersSizeType ParametersSizeType;
34 
36  itkFactorylessNewMacro(Self);
37  itkCloneMacro(Self);
38 
41 
42  static const std::string MODEL_DISPLAY_NAME;
43  static const std::string NAME_PARAMETER_S0;
44  static const std::string NAME_PARAMETER_t1;
45  static const std::string NAME_PARAMETER_t2;
46  static const std::string NAME_PARAMETER_a1;
47  static const std::string NAME_PARAMETER_a2;
48  static const std::string NAME_PARAMETER_b1;
49  static const std::string NAME_PARAMETER_b2;
50 
51  static const std::string UNIT_PARAMETER_S0;
52  static const std::string UNIT_PARAMETER_t1;
53  static const std::string UNIT_PARAMETER_t2;
54  static const std::string UNIT_PARAMETER_a1;
55  static const std::string UNIT_PARAMETER_a2;
56  static const std::string UNIT_PARAMETER_b1;
57  static const std::string UNIT_PARAMETER_b2;
58 
59  static const unsigned int POSITION_PARAMETER_S0;
60  static const unsigned int POSITION_PARAMETER_t1;
61  static const unsigned int POSITION_PARAMETER_t2;
62  static const unsigned int POSITION_PARAMETER_a1;
63  static const unsigned int POSITION_PARAMETER_a2;
64  static const unsigned int POSITION_PARAMETER_b1;
65  static const unsigned int POSITION_PARAMETER_b2;
66 
67  static const unsigned int NUMBER_OF_PARAMETERS;
68 
69  std::string GetModelDisplayName() const override;
70 
71  std::string GetModelType() const override;
72 
73  FunctionStringType GetFunctionString() const override;
74 
75  std::string GetXName() const override;
76 
77  ParameterNamesType GetParameterNames() const override;
78 
79  ParametersSizeType GetNumberOfParameters() const override;
80 
81  ParamterUnitMapType GetParameterUnits() const override;
82 
83  ParameterNamesType GetStaticParameterNames() const override;
84 
85  ParametersSizeType GetNumberOfStaticParameters() const override;
86 
87  ParameterNamesType GetDerivedParameterNames() const override;
88 
89  ParametersSizeType GetNumberOfDerivedParameters() const override;
90 
91  ParamterUnitMapType GetDerivedParameterUnits() const override;
92 
93 
94  protected:
96  ~ThreeStepLinearModel() override{};
97 
98 
103  itk::LightObject::Pointer InternalClone() const override;
104 
105  ModelResultType ComputeModelfunction(const ParametersType& parameters) const override;
106  DerivedParameterMapType ComputeDerivedParameters(const mitk::ModelBase::ParametersType&
107  parameters) const override;
108 
109  void SetStaticParameter(const ParameterNameType& name,
110  const StaticParameterValuesType& values) override;
111  StaticParameterValuesType GetStaticParameterValue(const ParameterNameType& name) const override;
112 
113  private:
114 
115  //No copy constructor allowed
116  ThreeStepLinearModel(const Self& source);
117  void operator=(const Self&); //purposely not implemented
118 
119  };
120 }
121 
122 
123 #endif // MITKTHREESTEPLINEARMODEL_H
static const std::string UNIT_PARAMETER_b1
static const std::string NAME_PARAMETER_S0
Base class for (dynamic) models. A model can be used to calculate its signal given the discrete time ...
Definition: mitkModelBase.h:47
ModelTraitsInterface::ParametersType ParametersType
Definition: mitkModelBase.h:59
static const std::string UNIT_PARAMETER_t1
static const unsigned int POSITION_PARAMETER_S0
static const std::string NAME_PARAMETER_t2
static const std::string UNIT_PARAMETER_t2
#define MITKPHARMACOKINETICS_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
static const std::string NAME_PARAMETER_b1
static const unsigned int POSITION_PARAMETER_t1
itk::SmartPointer< const Self > ConstPointer
static const std::string NAME_PARAMETER_a2
Superclass::ParameterNameType ParameterNameType
static const std::string UNIT_PARAMETER_a1
Superclass::ParametersSizeType ParametersSizeType
static const std::string NAME_PARAMETER_b2
static const std::string NAME_PARAMETER_a1
static const unsigned int POSITION_PARAMETER_b2
itk::SmartPointer< Self > Pointer
std::vector< StaticParameterValueType > StaticParameterValuesType
Definition: mitkModelBase.h:71
static const std::string UNIT_PARAMETER_a2
std::map< ParameterNameType, DerivedParameterValueType > DerivedParameterMapType
Definition: mitkModelBase.h:75
ModelTraitsInterface::ModelResultType ModelResultType
Definition: mitkModelBase.h:55
ModelTraitsInterface::ParameterNamesType ParameterNamesType
Definition: mitkModelBase.h:64
static const std::string UNIT_PARAMETER_S0
static const unsigned int NUMBER_OF_PARAMETERS
static const unsigned int POSITION_PARAMETER_t2
static const std::string MODEL_DISPLAY_NAME
static const unsigned int POSITION_PARAMETER_b1
static const unsigned int POSITION_PARAMETER_a1
std::map< ParameterNameType, std::string > ParamterUnitMapType
static const unsigned int POSITION_PARAMETER_a2
static const std::string UNIT_PARAMETER_b2
static const std::string NAME_PARAMETER_t1