Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
mitkExpDecayOffsetModel.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 mitkExpDecayOffsetModel_h
14 #define mitkExpDecayOffsetModel_h
15 
16 #include "mitkModelBase.h"
17 
18 #include "MitkModelFitExports.h"
19 
20 namespace mitk
21 {
22 
28  {
29 
30  public:
35 
38 
40  itkFactorylessNewMacro(Self);
41  itkCloneMacro(Self);
42 
44  itkTypeMacro(ExpDecayOffsetModel, ModelBase);
45 
46  std::string GetModelDisplayName() const override;
47 
48  std::string GetModelType() const override;
49 
50  FunctionStringType GetFunctionString() const override;
51 
52  std::string GetXName() const override;
53 
54  ParameterNamesType GetParameterNames() const override;
55 
56  ParametersSizeType GetNumberOfParameters() const override;
57 
58  ParameterNamesType GetStaticParameterNames() const override;
59 
60  ParametersSizeType GetNumberOfStaticParameters() const override;
61 
62  protected:
64  ~ExpDecayOffsetModel() override {};
65 
70  itk::LightObject::Pointer InternalClone() const override;
71 
72  ModelResultType ComputeModelfunction(const ParametersType& parameters) const override;
73 
74  void SetStaticParameter(const ParameterNameType& name,
75  const StaticParameterValuesType& values) override;
76  StaticParameterValuesType GetStaticParameterValue(const ParameterNameType& name) const override;
77 
78  private:
79 
80  //No copy constructor allowed
81  ExpDecayOffsetModel(const Self& source);
82  void operator=(const Self&); //purposely not implemented
83 
84  };
85 }
86 
87 #endif
mitk::ExpDecayOffsetModel::Superclass
mitk::ModelBase Superclass
Definition: mitkExpDecayOffsetModel.h:32
mitk::ModelBase::ParameterNamesType
ModelTraitsInterface::ParameterNamesType ParameterNamesType
Definition: mitkModelBase.h:64
mitk::ExpDecayOffsetModel
Implementation of a general exponential decay model with offset, following the function: f(x) = a * e...
Definition: mitkExpDecayOffsetModel.h:27
mitk::ExpDecayOffsetModel::ParametersSizeType
Superclass::ParametersSizeType ParametersSizeType
Definition: mitkExpDecayOffsetModel.h:37
mitk::ExpDecayOffsetModel::Pointer
itk::SmartPointer< Self > Pointer
Definition: mitkExpDecayOffsetModel.h:33
MitkModelFitExports.h
mitk::ModelBase::ParameterNameType
ModelTraitsInterface::ParameterNameType ParameterNameType
Definition: mitkModelBase.h:63
itk::SmartPointer< Self >
MITKMODELFIT_EXPORT
#define MITKMODELFIT_EXPORT
Definition: MitkModelFitExports.h:15
mitkModelBase.h
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition: RenderingTests.dox:1
mitk::ExpDecayOffsetModel::ExpDecayOffsetModel
ExpDecayOffsetModel()
Definition: mitkExpDecayOffsetModel.h:63
mitk::ExpDecayOffsetModel::ParameterNameType
Superclass::ParameterNameType ParameterNameType
Definition: mitkExpDecayOffsetModel.h:36
mitk::ExpDecayOffsetModel::~ExpDecayOffsetModel
~ExpDecayOffsetModel() override
Definition: mitkExpDecayOffsetModel.h:64
mitk::ModelTraitsInterface::FunctionStringType
std::string FunctionStringType
Definition: mitkModelTraitsInterface.h:44
mitk::ExpDecayOffsetModel::Self
ExpDecayOffsetModel Self
Definition: mitkExpDecayOffsetModel.h:31
mitk::ExpDecayOffsetModel::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: mitkExpDecayOffsetModel.h:34
mitk::ModelBase::ParametersSizeType
ModelTraitsInterface::ParametersSizeType ParametersSizeType
Definition: mitkModelBase.h:65
mitk::ModelBase
Base class for (dynamic) models. A model can be used to calculate its signal given the discrete time ...
Definition: mitkModelBase.h:47