Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
mitkImageGenerationHelper.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 mitkImageGenerationHelper_h
14 #define mitkImageGenerationHelper_h
15 
16 #include "itkImage.h"
17 #include "itkImageRegionIterator.h"
18 
19 #include "mitkImage.h"
21 
22 
23 
25 
26 namespace mitk
27 {
28 
34 {
35 
36 public:
38 
39  itkNewMacro(Self);
40 
41  typedef itk::Image<int> TestImageType;
42  typedef itk::Array<double> TimeGridType;
43  typedef itk::Array<double> CurveType;
44 
45  itkSetMacro(DimX, unsigned int);
46  itkSetMacro(DimY, unsigned int);
47  itkSetMacro(DimZ, unsigned int);
48  itkGetConstReferenceMacro(DimX, unsigned int);
49  itkGetConstReferenceMacro(DimY, unsigned int);
50  itkGetConstReferenceMacro(DimZ, unsigned int);
51 
52  itkSetMacro(Grid,TimeGridType);
53  itkGetConstReferenceMacro(Grid,TimeGridType);
54 
55  itkSetMacro(Curve, CurveType);
56  itkGetConstReferenceMacro(Curve,CurveType);
57 
58  Image::Pointer GenerateDynamicImageMITK();
59 
60 private:
61  ImageGenerationHelper(): m_DimX(0), m_DimY(0), m_DimZ(0) {};
62  ~ImageGenerationHelper() override{};
63 
64  mitk::Image::Pointer GenerateTestFrame(unsigned int timePointIndex);
65  unsigned int m_DimX, m_DimY, m_DimZ;
66  TimeGridType m_Grid;
67  CurveType m_Curve;
68 
69 
70 };
71 }
72 
73 #endif
MITKPHARMACOKINETICS_EXPORT
#define MITKPHARMACOKINETICS_EXPORT
Definition: MitkPharmacokineticsExports.h:15
mitkImage.h
itk::SmartPointer< Self >
MitkPharmacokineticsExports.h
mitkImagePixelReadAccessor.h
mitkClassMacroItkParent
#define mitkClassMacroItkParent(className, SuperClassName)
Definition: mitkCommon.h:45
mitk::ImageGenerationHelper::TimeGridType
itk::Array< double > TimeGridType
Definition: mitkImageGenerationHelper.h:42
mitk::ImageGenerationHelper::TestImageType
itk::Image< int > TestImageType
Definition: mitkImageGenerationHelper.h:39
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::ImageGenerationHelper
Definition: mitkImageGenerationHelper.h:33
mitk::ImageGenerationHelper::CurveType
itk::Array< double > CurveType
Definition: mitkImageGenerationHelper.h:43
mitk::GenerateTestFrame
Image::Pointer MITKTESTINGHELPER_EXPORT GenerateTestFrame(double timePoint)