Medical Imaging Interaction Toolkit  2018.4.99-f51274ea
Medical Imaging Interaction Toolkit
mitkDescriptivePharmacokineticBrixModelParameterizer.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 __DESCRIPTIVEPHARMACOKINETICBRIXMODEL_PARAMETERIZER_H
14 #define __DESCRIPTIVEPHARMACOKINETICBRIXMODEL_PARAMETERIZER_H
15 
18 
19 namespace mitk
20 {
26  ConcreteModelParameterizerBase<mitk::DescriptivePharmacokineticBrixModel>
27  {
28  public:
33 
35  itkNewMacro(Self);
36 
37  typedef Superclass::ModelBaseType ModelBaseType;
38  typedef Superclass::ModelBasePointer ModelBasePointer;
39 
40  typedef Superclass::ModelType ModelType;
41  typedef Superclass::ModelPointer ModelPointer;
42 
43  typedef Superclass::StaticParameterValueType StaticParameterValueType;
44  typedef Superclass::StaticParameterValuesType StaticParameterValuesType;
46 
47  typedef itk::Image<double, 3> BaseImageType;
48 
49  typedef Superclass::IndexType IndexType;
50 
51  itkSetMacro(Tau, double);
52  itkGetConstReferenceMacro(Tau, double);
53 
54  itkSetConstObjectMacro(BaseImage, BaseImageType);
55  itkGetConstObjectMacro(BaseImage, BaseImageType);
56 
57  /* Returns the global static parameters for the model.
58  * @remark this default implementation assumes no global static parameters exist.
59  * Thus an empty map is returned.*/
60  StaticParameterMapType GetGlobalStaticParameters() const override;
61 
62  /* Returns the local static parameters for the model at the given index.
63  * @remark this default implementation assumes no local static parameters exist.
64  * Thus an empty map is returned.*/
65  StaticParameterMapType GetLocalStaticParameters(const IndexType& currentPosition) const override;
66 
69  ParametersType GetDefaultInitialParameterization() const override;
70 
71  protected:
72 
74 
76 
78  double m_Tau;
79 
82  BaseImageType::ConstPointer m_BaseImage;
83 
84  private:
85 
86  //No copy constructor allowed
88  void operator=(const Self&); //purposely not implemented
89  };
90 }
91 
92 #endif // __DESCRIPTIVEPHARMACOKINETICBRIXMODEL_PARAMETERIZER_H
#define MITKPHARMACOKINETICS_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
ConcreteModelParameterizerBase< mitk::DescriptivePharmacokineticBrixModel > Superclass
Superclass::StaticParameterMapType StaticParameterMapType
ModelBaseType::ParametersType ParametersType