Medical Imaging Interaction Toolkit  2026.06.00
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 mitkCurveParameterFunctor_h
14 #define mitkCurveParameterFunctor_h
15 
17 #include <mitkSimpleFunctorBase.h>
19 
20 namespace mitk
21 {
22 
34  {
35  public:
37  typedef itk::Object Superclass;
40 
41  itkFactorylessNewMacro(Self);
43 
47 
53 
56  unsigned int GetNumberOfOutputs() const override;
57 
60  GridArrayType GetGrid() const override;
63  itkSetMacro(Grid, GridArrayType);
64 
70 
78  void RegisterDescriptionParameter(const ParameterNameType& parameterName, CurveDescriptionParameterBase* parameterFunction);
84 
85  protected:
88 
89  private:
90  typedef std::map<ParameterNameType, CurveDescriptionParameterBase::Pointer> DescriptionParameterMapType;
91  DescriptionParameterMapType m_DescriptorMap;
92  GridArrayType m_Grid;
93  };
94 
95 }
96 
97 #endif
#define MITKPHARMACOKINETICS_EXPORT
Abstract base class for functors that compute descriptive scalar values for a time-concentration curv...
std::string CurveDescriptionParameterNameType
String type for description parameter names.
std::vector< CurveDescriptionParameterNameType > DescriptionParameterNamesType
Vector of description parameter names.
Functor that aggregates multiple CurveDescriptionParameterBase instances and computes all registered ...
itk::SmartPointer< Self > Pointer
itk::SmartPointer< const Self > ConstPointer
void RegisterDescriptionParameter(const ParameterNameType &parameterName, CurveDescriptionParameterBase *parameterFunction)
Registers a new description parameter function under the given name.
const CurveDescriptionParameterBase * GetDescriptionParameterFunction(const ParameterNameType &parameterName) const
Returns the descriptor function registered under the given name.
CurveDescriptionParameterBase::DescriptionParameterNamesType ParameterNamesType
void ResetDescriptionParameters()
Removes all registered description parameter functions.
unsigned int GetNumberOfOutputs() const override
Returns the total number of output values across all registered descriptors.
ParameterNamesType GetDescriptionParameterNames() const
Returns the names of all registered description parameters.
CurveDescriptionParameterBase::CurveDescriptionParameterNameType ParameterNameType
SimpleFunctorBase::OutputPixelVectorType Compute(const InputPixelVectorType &value) const override
Computes all registered description parameters for the given input curve values.
GridArrayType GetGrid() const override
Returns the currently set time grid.
Abstract base class for simple functors used with itkMultiOutputNaryFunctorImageFilter.
std::vector< InputImagePixelType > InputPixelVectorType
std::vector< InputImagePixelType > OutputPixelVectorType
itk::Array< double > GridArrayType
Find image slices visible on a given plane.