Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
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 {
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
MitkPlanarFigureExports.h
mitk::PlanarFigure
Base-class for geometric planar (2D) figures, such as lines, circles, rectangles, polygons,...
Definition: mitkPlanarFigure.h:50
MITKPLANARFIGURE_EXPORT
#define MITKPLANARFIGURE_EXPORT
Definition: MitkPlanarFigureExports.h:15
mitk::PlanarFigureSource
Base class for all filters which have an object of type mitk::PlanarFigure as output.
Definition: mitkPlanarFigureSource.h:33
itk::SmartPointer< Self >
mitkPlanarFigure.h
mitk::PlanarFigureToPlanarFigureFilter::InputTypePointer
InputType::Pointer InputTypePointer
Definition: mitkPlanarFigureToPlanarFigureFilter.h:39
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::PlanarFigureToPlanarFigureFilter::InputType
PlanarFigure InputType
Definition: mitkPlanarFigureToPlanarFigureFilter.h:36
mitk::BaseDataSource
Superclass of all classes generating some kind of mitk::BaseData.
Definition: mitkBaseDataSource.h:71
mitkCommon.h
mitk::PlanarFigureToPlanarFigureFilter::DataObjectPointer
itk::DataObject::Pointer DataObjectPointer
Definition: mitkPlanarFigureToPlanarFigureFilter.h:40
mitk::PlanarFigureToPlanarFigureFilter
Base class for all filters which have an object of type mitk::PlanarFigure as input and output.
Definition: mitkPlanarFigureToPlanarFigureFilter.h:31
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
mitkPlanarFigureSource.h