Medical Imaging Interaction Toolkit  2018.4.99-064ad45c
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);
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 /* 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.
DataCollection - Class to facilitate loading/accessing structured data.
itk::ImageRegion< RegionDimension > RegionType
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:40
Image class for storing images.
Definition: mitkImage.h:72
InputImageType::ConstPointer InputImageConstPointer
Superclass of all classes having one or more Images as input and generating Images as output...
mitk::Image::Pointer image
Superclass::OutputImageRegionType OutputImageRegionType
InputImageType::Pointer InputImagePointer