Medical Imaging Interaction Toolkit  2021.10.99-9c07a326
Medical Imaging Interaction Toolkit
mitkT2DecayModel.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 __MITK_T2_DECAY_MODEL_H_
14 #define __MITK_T2_DECAY_MODEL_H_
15 
16 #include "mitkModelBase.h"
17 
18 #include "MitkModelFitExports.h"
19 
20 namespace mitk
21 {
22 
25  {
26 
27  public:
28  typedef T2DecayModel Self;
32 
33  typedef Superclass::ParameterNameType ParameterNameType;
34  typedef Superclass::ParametersSizeType ParametersSizeType;
35 
37  itkFactorylessNewMacro(Self);
38  itkCloneMacro(Self);
39 
41  itkTypeMacro(T2DecayModel, ModelBase);
42 
43  std::string GetModelDisplayName() const override;
44 
45  std::string GetModelType() const override;
46 
47  FunctionStringType GetFunctionString() const override;
48 
49  std::string GetXName() const override;
50 
51  ParameterNamesType GetParameterNames() const override;
52 
53  ParametersSizeType GetNumberOfParameters() const override;
54 
55  ParameterNamesType GetStaticParameterNames() const override;
56 
57  ParametersSizeType GetNumberOfStaticParameters() const override;
58 
59  protected:
61  ~T2DecayModel() override {};
62 
67  itk::LightObject::Pointer InternalClone() const override;
68 
69  ModelResultType ComputeModelfunction(const ParametersType& parameters) const override;
70 
71  void SetStaticParameter(const ParameterNameType& name,
72  const StaticParameterValuesType& values) override;
73  StaticParameterValuesType GetStaticParameterValue(const ParameterNameType& name) const override;
74 
75  private:
76 
77  //No copy constructor allowed
78  T2DecayModel(const Self& source);
79  void operator=(const Self&); //purposely not implemented
80 
81  };
82 }
83 
84 #endif
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
Superclass::ParameterNameType ParameterNameType
DataCollection - Class to facilitate loading/accessing structured data.
~T2DecayModel() override
itk::SmartPointer< const Self > ConstPointer
#define MITKMODELFIT_EXPORT
std::vector< StaticParameterValueType > StaticParameterValuesType
Definition: mitkModelBase.h:71
ModelTraitsInterface::ModelResultType ModelResultType
Definition: mitkModelBase.h:55
itk::SmartPointer< Self > Pointer
ModelTraitsInterface::ParameterNamesType ParameterNamesType
Definition: mitkModelBase.h:64
Superclass::ParametersSizeType ParametersSizeType
mitk::ModelBase Superclass