Medical Imaging Interaction Toolkit  2018.4.99-a3d2e8fb
Medical Imaging Interaction Toolkit
mitkExtendedToftsModel.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 MITKEXTENDEDTOFTSMODEL_H
14 #define MITKEXTENDEDTOFTSMODEL_H
15 
16 #include "mitkAIFBasedModelBase.h"
18 
19 namespace mitk
20 {
29  {
30 
31  public:
36 
38  itkFactorylessNewMacro(Self);
39  itkCloneMacro(Self);
40 
42  itkTypeMacro(ExtendedToftsModel, ModelBase);
43 
44  static const std::string MODEL_DISPLAY_NAME;
45 
46  static const std::string NAME_PARAMETER_Ktrans;
47  static const std::string NAME_PARAMETER_ve;
48  static const std::string NAME_PARAMETER_vp;
49 
50  static const std::string UNIT_PARAMETER_Ktrans;
51  static const std::string UNIT_PARAMETER_ve;
52  static const std::string UNIT_PARAMETER_vp;
53 
54  static const unsigned int POSITION_PARAMETER_Ktrans;
55  static const unsigned int POSITION_PARAMETER_ve;
56  static const unsigned int POSITION_PARAMETER_vp;
57 
58  static const unsigned int NUMBER_OF_PARAMETERS;
59 
60  std::string GetModelDisplayName() const override;
61 
62  std::string GetModelType() const override;
63 
64  ParameterNamesType GetParameterNames() const override;
65  ParametersSizeType GetNumberOfParameters() const override;
66 
67  ParamterUnitMapType GetParameterUnits() const override;
68 
69  ParameterNamesType GetDerivedParameterNames() const override;
70 
71  ParametersSizeType GetNumberOfDerivedParameters() const override;
72  ParamterUnitMapType GetDerivedParameterUnits() const override;
73 
74 
75  protected:
77  ~ExtendedToftsModel() override;
78 
83  itk::LightObject::Pointer InternalClone() const override;
84 
85  ModelResultType ComputeModelfunction(const ParametersType& parameters) const override;
86 
87  DerivedParameterMapType ComputeDerivedParameters(const mitk::ModelBase::ParametersType&
88  parameters) const override;
89 
90 
91  void PrintSelf(std::ostream& os, ::itk::Indent indent) const override;
92 
93  private:
94 
95 
96  //No copy constructor allowed
97  ExtendedToftsModel(const Self& source);
98  void operator=(const Self&); //purposely not implemented
99 
100 
101 
102 
103  };
104 }
105 
106 #endif // MITKEXTENDEDTOFTSMODEL_H
static const std::string UNIT_PARAMETER_ve
static const std::string NAME_PARAMETER_Ktrans
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 unsigned int POSITION_PARAMETER_ve
static const std::string UNIT_PARAMETER_vp
#define MITKPHARMACOKINETICS_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
static const unsigned int NUMBER_OF_PARAMETERS
itk::SmartPointer< Self > Pointer
ModelTraitsInterface::ParametersSizeType ParametersSizeType
Definition: mitkModelBase.h:65
static const std::string NAME_PARAMETER_ve
static const std::string UNIT_PARAMETER_Ktrans
static const std::string MODEL_DISPLAY_NAME
std::map< ParameterNameType, DerivedParameterValueType > DerivedParameterMapType
Definition: mitkModelBase.h:75
ModelTraitsInterface::ModelResultType ModelResultType
Definition: mitkModelBase.h:55
Implementation of the Model function of the Tofts pharmacokinetic model, using an Aterial Input Funct...
static const unsigned int POSITION_PARAMETER_Ktrans
itk::SmartPointer< const Self > ConstPointer
ModelTraitsInterface::ParameterNamesType ParameterNamesType
Definition: mitkModelBase.h:64
static const unsigned int POSITION_PARAMETER_vp
Base Class for all physiological perfusion models using an Aterial Input Function All AIF based model...
static const std::string NAME_PARAMETER_vp
std::map< ParameterNameType, std::string > ParamterUnitMapType