Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkPlanarFigureToPlanarFigureFilter.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 MITKPlanarFigureToPlanarFigureFilter_H_HEADER_INCLUDED
18 #define MITKPlanarFigureToPlanarFigureFilter_H_HEADER_INCLUDED
19 
20 #include "mitkCommon.h"
21 #include "mitkPlanarFigure.h"
22 #include "mitkPlanarFigureSource.h"
24 
25 namespace mitk
26 {
36  {
37  public:
39  itkFactorylessNewMacro(Self) itkCloneMacro(Self)
40 
42  typedef InputType::Pointer InputTypePointer;
43  typedef itk::DataObject::Pointer DataObjectPointer;
44 
45  using Superclass::SetInput;
46 
47  virtual void SetInput(const InputType *figure);
48 
49  virtual void SetInput(unsigned int idx, const InputType *figure);
50 
51  virtual const InputType *GetInput();
52 
53  virtual const InputType *GetInput(unsigned int idx);
54 
55  virtual void CreateOutputsForAllInputs();
56 
57  protected:
59  virtual ~PlanarFigureToPlanarFigureFilter();
60  };
61 } // namespace mitk
62 #endif
Base class for all filters which have an object of type mitk::PlanarFigure as input and output...
Superclass of all classes generating some kind of mitk::BaseData.
DataCollection - Class to facilitate loading/accessing structured data.
Base class for all filters which have an object of type mitk::PlanarFigure as output.
itk::DataObject::Pointer DataObjectPointer
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
#define MITKPLANARFIGURE_EXPORT
Base-class for geometric planar (2D) figures, such as lines, circles, rectangles, polygons...
itk::ProcessObject Superclass