Medical Imaging Interaction Toolkit  2018.4.99-3e3f1a6e
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);
36  itkCloneMacro(Self);
37 
38  typedef PlanarFigure InputType;
40  typedef itk::DataObject::Pointer DataObjectPointer;
41 
42  using Superclass::SetInput;
43 
44  virtual void SetInput(const InputType *figure);
45 
46  virtual void SetInput(unsigned int idx, const InputType *figure);
47 
48  virtual const InputType *GetInput();
49 
50  virtual const InputType *GetInput(unsigned int idx);
51 
52  virtual void CreateOutputsForAllInputs();
53 
54  protected:
57  };
58 } // namespace mitk
59 #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.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:40
#define MITKPLANARFIGURE_EXPORT
Base-class for geometric planar (2D) figures, such as lines, circles, rectangles, polygons...