Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
mitkLinearModel.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 mitkLinearModel_h
14 #define mitkLinearModel_h
15 
16 #include "mitkModelBase.h"
17 
18 #include "MitkModelFitExports.h"
19 
20 namespace mitk
21 {
22 
24  {
25 
26  public:
27  typedef LinearModel Self;
31 
34 
36  itkFactorylessNewMacro(Self);
37  itkCloneMacro(Self);
38 
40  itkTypeMacro(LinearModel, ModelBase);
41 
42  std::string GetModelDisplayName() const override;
43 
44  std::string GetModelType() const override;
45 
46  FunctionStringType GetFunctionString() const override;
47 
48  std::string GetXName() const override;
49 
50  ParameterNamesType GetParameterNames() const override;
51 
52  ParametersSizeType GetNumberOfParameters() const override;
53 
54  ParameterNamesType GetStaticParameterNames() const override;
55 
56  ParametersSizeType GetNumberOfStaticParameters() const override;
57 
58  ParameterNamesType GetDerivedParameterNames() const override;
59 
60  ParametersSizeType GetNumberOfDerivedParameters() const override;
61 
62  protected:
64  ~LinearModel() override {};
65 
70  itk::LightObject::Pointer InternalClone() const override;
71 
72  ModelResultType ComputeModelfunction(const ParametersType& parameters) const override;
73  DerivedParameterMapType ComputeDerivedParameters(const mitk::ModelBase::ParametersType&
74  parameters) const override;
75 
76  void SetStaticParameter(const ParameterNameType& name,
77  const StaticParameterValuesType& values) override;
78  StaticParameterValuesType GetStaticParameterValue(const ParameterNameType& name) const override;
79 
80  private:
81 
82  //No copy constructor allowed
83  LinearModel(const Self& source);
84  void operator=(const Self&); //purposely not implemented
85 
86  };
87 }
88 
89 #endif
mitk::LinearModel::~LinearModel
~LinearModel() override
Definition: mitkLinearModel.h:64
mitk::ModelBase::ParameterNamesType
ModelTraitsInterface::ParameterNamesType ParameterNamesType
Definition: mitkModelBase.h:64
mitk::LinearModel::Pointer
itk::SmartPointer< Self > Pointer
Definition: mitkLinearModel.h:29
MitkModelFitExports.h
mitk::ModelBase::ParameterNameType
ModelTraitsInterface::ParameterNameType ParameterNameType
Definition: mitkModelBase.h:63
mitk::ModelBase::ParametersType
ModelTraitsInterface::ParametersType ParametersType
Definition: mitkModelBase.h:59
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::ModelTraitsInterface::FunctionStringType
std::string FunctionStringType
Definition: mitkModelTraitsInterface.h:44
mitk::LinearModel::ParametersSizeType
Superclass::ParametersSizeType ParametersSizeType
Definition: mitkLinearModel.h:33
mitk::LinearModel
Definition: mitkLinearModel.h:23
mitk::LinearModel::LinearModel
LinearModel()
Definition: mitkLinearModel.h:63
mitk::LinearModel::Superclass
mitk::ModelBase Superclass
Definition: mitkLinearModel.h:28
mitk::ModelBase::ParametersSizeType
ModelTraitsInterface::ParametersSizeType ParametersSizeType
Definition: mitkModelBase.h:65
mitk::LinearModel::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: mitkLinearModel.h:30
mitk::LinearModel::ParameterNameType
Superclass::ParameterNameType ParameterNameType
Definition: mitkLinearModel.h:32
mitk::ModelBase
Base class for (dynamic) models. A model can be used to calculate its signal given the discrete time ...
Definition: mitkModelBase.h:47
mitk::LinearModel::Self
LinearModel Self
Definition: mitkLinearModel.h:27