Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkPlanarFigureSource.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 mitkPlanarFigureSource_h
14 #define mitkPlanarFigureSource_h
15 
16 #include <mitkBaseDataSource.h>
17 #include <mitkCommon.h>
18 #include <mitkPlanarFigure.h>
20 
21 namespace mitk
22 {
33  {
34  public:
36  itkFactorylessNewMacro(Self);
37  itkCloneMacro(Self);
38 
40  typedef OutputType::Pointer OutputTypePointer;
41  typedef itk::DataObject::Pointer DataObjectPointer;
42 
44 
53  itk::DataObject::Pointer
54  MakeOutput(DataObjectPointerArraySizeType idx) override;
55 
62  itk::DataObject::Pointer MakeOutput(const DataObjectIdentifierType &name) override;
63 
69 
70  protected:
72  ~PlanarFigureSource() override;
73  };
74 } // namespace mitk
75 #endif
#define MITKPLANARFIGURE_EXPORT
Superclass of all classes generating some kind of mitk::BaseData.
itk::DataObject::DataObjectIdentifierType DataObjectIdentifierType
Identifier type for named data objects.
Base class for all filters producing a PlanarFigure as output.
void GenerateInputRequestedRegion() override
~PlanarFigureSource() override
mitkBaseDataSourceGetOutputDeclarations itk::DataObject::Pointer MakeOutput(DataObjectPointerArraySizeType idx) override
Allocate a new output object and return it.
itk::DataObject::Pointer DataObjectPointer
mitkClassMacro(PlanarFigureSource, BaseDataSource)
OutputType::Pointer OutputTypePointer
itk::DataObject::Pointer MakeOutput(const DataObjectIdentifierType &name) override
Base-class for geometric planar (2D) figures, such as lines, circles, rectangles, polygons,...
#define mitkBaseDataSourceGetOutputDeclarations
Find image slices visible on a given plane.