Medical Imaging Interaction Toolkit  2018.4.99-4c24e3cb
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 (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 MITKPlanarFigureToPlanarFigureFilter_H_HEADER_INCLUDED
14 #define MITKPlanarFigureToPlanarFigureFilter_H_HEADER_INCLUDED
15 
16 #include "mitkCommon.h"
17 #include "mitkPlanarFigure.h"
18 #include "mitkPlanarFigureSource.h"
20 
21 namespace mitk
22 {
32  {
33  public:
35  itkFactorylessNewMacro(Self) itkCloneMacro(Self)
36 
38  typedef InputType::Pointer InputTypePointer;
39  typedef itk::DataObject::Pointer DataObjectPointer;
40 
41  using Superclass::SetInput;
42 
43  virtual void SetInput(const InputType *figure);
44 
45  virtual void SetInput(unsigned int idx, const InputType *figure);
46 
47  virtual const InputType *GetInput();
48 
49  virtual const InputType *GetInput(unsigned int idx);
50 
51  virtual void CreateOutputsForAllInputs();
52 
53  protected:
55  ~PlanarFigureToPlanarFigureFilter() override;
56  };
57 } // namespace mitk
58 #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:40
#define MITKPLANARFIGURE_EXPORT
Base-class for geometric planar (2D) figures, such as lines, circles, rectangles, polygons...
itk::ProcessObject Superclass