Medical Imaging Interaction Toolkit  2018.4.99-3e3f1a6e
Medical Imaging Interaction Toolkit
mitkCurveParameterFunctor.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 CURVE_PARAMETER_FUNCTOR_H
14 #define CURVE_PARAMETER_FUNCTOR_H
15 
17 #include "mitkSimpleFunctorBase.h"
19 
20 namespace mitk
21 {
22 
28  {
29  public:
31  typedef itk::Object Superclass;
34 
35  itkFactorylessNewMacro(Self);
37 
41 
42  SimpleFunctorBase::OutputPixelVectorType Compute(const InputPixelVectorType & value) const override;
43 
44  unsigned int GetNumberOfOutputs() const override;
45 
46  GridArrayType GetGrid() const override;
47  itkSetMacro(Grid, GridArrayType);
48 
49  ParameterNamesType GetDescriptionParameterNames() const;
50 
53  void ResetDescriptionParameters();
56  void RegisterDescriptionParameter(const ParameterNameType& parameterName, CurveDescriptionParameterBase* parameterFunction);
59  const CurveDescriptionParameterBase* GetDescriptionParameterFunction(const ParameterNameType& parameterName) const;
60 
61  protected:
63  ~CurveParameterFunctor() override;
64 
65  private:
66  typedef std::map<ParameterNameType, CurveDescriptionParameterBase::Pointer> DescriptionParameterMapType;
67  DescriptionParameterMapType m_DescriptorMap;
68  GridArrayType m_Grid;
69  };
70 
71 }
72 
73 #endif // CURVE_PARAMETER_FUNCTOR_H
CurveDescriptionParameterBase::CurveDescriptionParameterNameType ParameterNameType
itk::SmartPointer< const Self > ConstPointer
#define MITKPHARMACOKINETICS_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
itk::Array< double > GridArrayType
itk::SmartPointer< Self > Pointer
std::vector< InputImagePixelType > InputPixelVectorType
std::vector< CurveDescriptionParameterNameType > DescriptionParameterNamesType
CurveDescriptionParameterBase::DescriptionParameterNamesType ParameterNamesType
std::vector< InputImagePixelType > OutputPixelVectorType