Medical Imaging Interaction Toolkit  2018.4.99-bd7b41ba
Medical Imaging Interaction Toolkit
mitkCurveDescriptionParameterBase.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 CURVEDESCRIPTIONPARAMETERBASE_H
14 #define CURVEDESCRIPTIONPARAMETERBASE_H
15 
16 #include <iostream>
17 
18 #include <itkArray.h>
19 #include <itkArray2D.h>
20 #include <itkObject.h>
21 #include <mitkModelBase.h>
23 
24 namespace mitk
25 {
33  {
34  public:
36  typedef itk::Object Superclass;
39 
40  itkTypeMacro(CurveDescriptionParameterBase, itk::Object);
41 
42  typedef itk::Array<double> CurveType;
43  typedef itk::Array<double> CurveGridType;
44 
46  typedef std::string CurveDescriptionParameterNameType;
47 
48  typedef std::vector<CurveDescriptionParameterResultType> DescriptionParameterResultsType;
49  typedef std::vector<CurveDescriptionParameterNameType> DescriptionParameterNamesType;
50 
53  DescriptionParameterResultsType GetCurveDescriptionParameter(const CurveType& curve, const CurveGridType& grid) const;
54 
57  virtual DescriptionParameterNamesType GetDescriptionParameterName() const = 0 ;
58 
59  protected:
60 
62  virtual DescriptionParameterResultsType ComputeCurveDescriptionParameter(const CurveType& curve, const CurveGridType& grid) const = 0;
63 
66 
67  private:
68 
69  //No copy constructor allowed
70  CurveDescriptionParameterBase(const Self& source);
71  void operator=(const Self&); //purposely not implemented
72 
73  };
74 }
75 
76 #endif // CURVEDESCRIPTIONPARAMETERBASE_H
#define MITKPHARMACOKINETICS_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
std::vector< CurveDescriptionParameterResultType > DescriptionParameterResultsType
std::vector< CurveDescriptionParameterNameType > DescriptionParameterNamesType