Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef IMAGETOIMAGEFILTER_H_HEADER_INCLUDED_C1E5E869
18 #define IMAGETOIMAGEFILTER_H_HEADER_INCLUDED_C1E5E869
19 
20 #include "mitkImageSource.h"
21 #include <MitkCoreExports.h>
22 
23 namespace mitk
24 {
25  //##Documentation
26  //## @brief Superclass of all classes having one or more Images as input and
27  //## generating Images as output
28  //## @ingroup Process
30  {
31  public:
33 
35  itkFactorylessNewMacro(Self) itkCloneMacro(Self)
36 
39 
42  typedef InputImageType::Pointer InputImagePointer;
43  typedef InputImageType::ConstPointer InputImageConstPointer;
44  typedef SlicedData::RegionType InputImageRegionType;
45 
46  using itk::ProcessObject::SetInput;
48  virtual void SetInput(const InputImageType *image);
49  virtual void SetInput(unsigned int, const InputImageType *image);
50  InputImageType *GetInput(void);
51  InputImageType *GetInput(unsigned int idx);
52  const InputImageType *GetInput(void) const;
53  const InputImageType *GetInput(unsigned int idx) const;
54 
55  protected:
57  virtual ~ImageToImageFilter();
58 
59  virtual void PrintSelf(std::ostream &os, itk::Indent indent) const override;
60 
75  virtual void GenerateInputRequestedRegion() override;
76 
77  private:
78  void operator=(const Self &); // purposely not implemented
79  };
80 
81 } // namespace mitk
82 
83 #endif /* IMAGETOIMAGEFILTER_H_HEADER_INCLUDED_C1E5E869 */
Superclass of all classes generating Images (instances of class Image) as output. ...
#define MITKCORE_EXPORT
STL namespace.
DataCollection - Class to facilitate loading/accessing structured data.
Super class of data objects consisting of slices.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
Image class for storing images.
Definition: mitkImage.h:76
Superclass of all classes having one or more Images as input and generating Images as output...