Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
mitkImageToImageFilter.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 mitkImageToImageFilter_h
14 #define mitkImageToImageFilter_h
15 
16 #include "mitkImageSource.h"
17 #include <MitkCoreExports.h>
18 
19 namespace mitk
20 {
21  //##Documentation
22  //## @brief Superclass of all classes having one or more Images as input and
23  //## generating Images as output
24  //## @ingroup Process
26  {
27  public:
29 
31  itkFactorylessNewMacro(Self);
32  itkCloneMacro(Self);
33 
35  typedef Superclass::OutputImageRegionType OutputImageRegionType;
36 
42 
43  using itk::ProcessObject::SetInput;
45  virtual void SetInput(const InputImageType *image);
46  virtual void SetInput(unsigned int, const InputImageType *image);
47  InputImageType *GetInput(void);
48  InputImageType *GetInput(unsigned int idx);
49  const InputImageType *GetInput(void) const;
50  const InputImageType *GetInput(unsigned int idx) const;
51 
52  protected:
54  ~ImageToImageFilter() override;
55 
56  void PrintSelf(std::ostream &os, itk::Indent indent) const override;
57 
72  void GenerateInputRequestedRegion() override;
73 
74  private:
75  void operator=(const Self &); // purposely not implemented
76  };
77 
78 } // namespace mitk
79 
80 #endif
mitk::ImageSource
Superclass of all classes generating Images (instances of class Image) as output.
Definition: mitkImageSource.h:36
mitk::ImageToImageFilter::OutputImageRegionType
Superclass::OutputImageRegionType OutputImageRegionType
Definition: mitkImageToImageFilter.h:32
mitk::Image
Image class for storing images.
Definition: mitkImage.h:69
itk::SmartPointer< Self >
mitk::SlicedData::RegionType
itk::ImageRegion< RegionDimension > RegionType
Definition: mitkSlicedData.h:45
mitk::ImageToImageFilter::InputImagePointer
InputImageType::Pointer InputImagePointer
Definition: mitkImageToImageFilter.h:39
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition: RenderingTests.dox:1
mitk::ImageToImageFilter::InputImageRegionType
SlicedData::RegionType InputImageRegionType
Definition: mitkImageToImageFilter.h:41
mitk::BaseDataSource
Superclass of all classes generating some kind of mitk::BaseData.
Definition: mitkBaseDataSource.h:71
MitkCoreExports.h
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
mitk::ImageToImageFilter::InputImageType
mitk::Image InputImageType
Definition: mitkImageToImageFilter.h:38
mitk::ImageToImageFilter::InputImageConstPointer
InputImageType::ConstPointer InputImageConstPointer
Definition: mitkImageToImageFilter.h:40
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition: MitkCoreExports.h:15
mitk::ImageToImageFilter
Superclass of all classes having one or more Images as input and generating Images as output.
Definition: mitkImageToImageFilter.h:25
mitkImageSource.h