Medical Imaging Interaction Toolkit  2018.4.99-3e3f1a6e
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 __MITK_DESCRIPTION_PARAMETER_IMAGE_GENERATOR_BASE_H_
14 #define __MITK_DESCRIPTION_PARAMETER_IMAGE_GENERATOR_BASE_H_
15 
16 #include <map>
17 
18 #include "mitkImage.h"
19 
21 
23 
24 namespace mitk
25 {
27  {
28  public:
29 
31 
33 
35 
36  typedef std::map<ParameterNameType,Image::Pointer> ParameterImageMapType;
37 
38  virtual double GetProgress() const = 0;
39 
40  void Generate();
41 
42  ParameterImageMapType GetParameterImages();
43 
44  protected:
47 
48  virtual bool HasOutdatedResult() const;
49 
50  virtual void CheckValidInputs() const;
51  virtual void DoParameterCalculationAndGetResults(ParameterImageMapType& parameterImages) = 0;
52 
53  itk::TimeStamp m_GenerationTimeStamp;
54 
55  private:
56 
57  ParameterImageMapType m_ParameterImageMap;
58 
59  };
60 
61 }
62 
63 #endif //__MITK_DESCRIPTION_PARAMETER_IMAGE_GENERATOR_BASE_H_
double ScalarType
#define MITKPHARMACOKINETICS_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacroItkParent(className, SuperClassName)
Definition: mitkCommon.h:49
CurveDescriptionParameterBase::CurveDescriptionParameterNameType ParameterNameType
std::map< ParameterNameType, Image::Pointer > ParameterImageMapType