Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitkExtractDirectedPlaneImageFilterNew.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 mitkExtractDirectedPlaneImageFilterNew_h_Included
14 #define mitkExtractDirectedPlaneImageFilterNew_h_Included
15 
16 #include "itkImage.h"
17 #include "mitkITKImageImport.h"
18 #include "mitkImageToImageFilter.h"
20 
21 namespace mitk
22 {
55  {
56  public:
58  itkFactorylessNewMacro(Self);
59  itkCloneMacro(Self);
60 
67  itkSetMacro(CurrentWorldPlaneGeometry, BaseGeometry *);
68 
72  DEPRECATED(void SetCurrentWorldGeometry2D(BaseGeometry *geo)) { SetCurrentWorldPlaneGeometry(geo); };
73  itkSetMacro(ImageGeometry, BaseGeometry *);
74 
80  itkSetMacro(ActualInputTimestep, int);
81 
82  protected:
85  void GenerateData() override;
86  void GenerateOutputInformation() override;
87 
88  private:
89  const BaseGeometry *m_CurrentWorldPlaneGeometry;
90  const BaseGeometry *m_ImageGeometry;
91  int m_ActualInputTimestep;
92 
93  template <typename TPixel, unsigned int VImageDimension>
94  void ItkSliceExtraction(const itk::Image<TPixel, VImageDimension> *inputImage);
95  };
96 
97 } // namespace
98 
99 #endif
Superclass of all classes generating some kind of mitk::BaseData.
A filter that can extract a 2D slice from a 3D or 4D image especially if the image`s axes are rotated...
DataCollection - Class to facilitate loading/accessing structured data.
#define MITKIMAGEEXTRACTION_EXPORT
#define DEPRECATED(func)
Definition: mitkCommon.h:179
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:40
Superclass of all classes having one or more Images as input and generating Images as output...
BaseGeometry Describes the geometry of a data object.