Medical Imaging Interaction Toolkit  2026.06.00
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
14 #define mitkPlanarFigureToPlanarFigureFilter_h
15 
16 #include <mitkCommon.h>
17 #include <mitkPlanarFigure.h>
18 #include <mitkPlanarFigureSource.h>
20 
21 namespace mitk
22 {
29  {
30  public:
32  itkFactorylessNewMacro(Self);
33  itkCloneMacro(Self);
34 
36  typedef InputType::Pointer InputTypePointer;
37  typedef itk::DataObject::Pointer DataObjectPointer;
38 
39  using Superclass::SetInput;
40 
41  virtual void SetInput(const InputType *figure);
42 
43  virtual void SetInput(unsigned int idx, const InputType *figure);
44 
45  virtual const InputType *GetInput();
46 
47  virtual const InputType *GetInput(unsigned int idx);
48 
49  virtual void CreateOutputsForAllInputs();
50 
51  protected:
54  };
55 } // namespace mitk
56 #endif
#define MITKPLANARFIGURE_EXPORT
Base class for all filters producing a PlanarFigure as output.
Base class for all filters with PlanarFigure input and PlanarFigure output.
virtual void SetInput(const InputType *figure)
virtual const InputType * GetInput(unsigned int idx)
virtual const InputType * GetInput()
virtual void SetInput(unsigned int idx, const InputType *figure)
mitkClassMacro(PlanarFigureToPlanarFigureFilter, PlanarFigureSource)
Base-class for geometric planar (2D) figures, such as lines, circles, rectangles, polygons,...
Find image slices visible on a given plane.