Medical Imaging Interaction Toolkit  2018.4.99-4c24e3cb
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 IMAGETOIMAGEFILTER_H_HEADER_INCLUDED_C1E5E869
14 #define IMAGETOIMAGEFILTER_H_HEADER_INCLUDED_C1E5E869
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) itkCloneMacro(Self)
32 
33 
35 
38  typedef InputImageType::Pointer InputImagePointer;
39  typedef InputImageType::ConstPointer InputImageConstPointer;
40  typedef SlicedData::RegionType InputImageRegionType;
41 
42  using itk::ProcessObject::SetInput;
44  virtual void SetInput(const InputImageType *image);
45  virtual void SetInput(unsigned int, const InputImageType *image);
46  InputImageType *GetInput(void);
47  InputImageType *GetInput(unsigned int idx);
48  const InputImageType *GetInput(void) const;
49  const InputImageType *GetInput(unsigned int idx) const;
50 
51  protected:
53  ~ImageToImageFilter() override;
54 
55  void PrintSelf(std::ostream &os, itk::Indent indent) const override;
56 
71  void GenerateInputRequestedRegion() override;
72 
73  private:
74  void operator=(const Self &); // purposely not implemented
75  };
76 
77 } // namespace mitk
78 
79 #endif /* IMAGETOIMAGEFILTER_H_HEADER_INCLUDED_C1E5E869 */
Superclass of all classes generating Images (instances of class Image) as output. ...
#define MITKCORE_EXPORT
SlicedData::RegionType InputImageRegionType
Superclass of all classes generating some kind of mitk::BaseData.
STL namespace.
DataCollection - Class to facilitate loading/accessing structured data.
SlicedData::RegionType OutputImageRegionType
Super class of data objects consisting of slices.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:40
Image class for storing images.
Definition: mitkImage.h:72
Superclass of all classes having one or more Images as input and generating Images as output...
mitk::Image::Pointer image
itk::ProcessObject Superclass