Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkDescriptionParameterImageGeneratorBase.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 mitkDescriptionParameterImageGeneratorBase_h
14 #define mitkDescriptionParameterImageGeneratorBase_h
15 
16 #include <map>
17 
18 #include <mitkImage.h>
19 
21 
23 
24 namespace mitk
25 {
38  {
39  public:
40 
42 
45 
48 
50  typedef std::map<ParameterNameType,Image::Pointer> ParameterImageMapType;
51 
54  virtual double GetProgress() const = 0;
55 
60  void Generate();
61 
67 
68  protected:
71 
72  virtual bool HasOutdatedResult() const;
73 
74  virtual void CheckValidInputs() const;
75  virtual void DoParameterCalculationAndGetResults(ParameterImageMapType& parameterImages) = 0;
76 
77  itk::TimeStamp m_GenerationTimeStamp;
78 
79  private:
80 
81  ParameterImageMapType m_ParameterImageMap;
82 
83  };
84 
85 }
86 
87 #endif
#define MITKPHARMACOKINETICS_EXPORT
std::string CurveDescriptionParameterNameType
String type for description parameter names.
Abstract base class for generators that produce parameter images from curve descriptors.
void Generate()
Triggers the parameter image computation if results are outdated.
mitkClassMacroItkParent(DescriptionParameterImageGeneratorBase, ::itk::Object)
virtual double GetProgress() const =0
Returns the current computation progress as a value between 0.0 and 1.0.
CurveDescriptionParameterBase::CurveDescriptionParameterNameType ParameterNameType
String type for parameter names.
std::map< ParameterNameType, Image::Pointer > ParameterImageMapType
Map from parameter names to their corresponding output images.
ScalarType ParameterImagePixelType
Pixel type used in generated parameter images.
ParameterImageMapType GetParameterImages()
Returns the computed parameter images.
virtual void DoParameterCalculationAndGetResults(ParameterImageMapType &parameterImages)=0
Find image slices visible on a given plane.
double ScalarType
Scalar type used throughout MITK for geometric computations.