Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
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_HEADER_INCLUDED
14 #define MITKPlanarFigureSOURCE_H_HEADER_INCLUDED
15 
16 #include "mitkBaseDataSource.h"
17 #include "mitkCommon.h"
18 #include "mitkPlanarFigure.h"
20 
21 namespace mitk
22 {
34  {
35  public:
36  mitkClassMacro(PlanarFigureSource, BaseDataSource) itkFactorylessNewMacro(Self) itkCloneMacro(Self)
37 
39  typedef OutputType::Pointer OutputTypePointer;
40  typedef itk::DataObject::Pointer DataObjectPointer;
41 
43 
50  itk::DataObject::Pointer
51  MakeOutput(DataObjectPointerArraySizeType idx) override;
52 
59  itk::DataObject::Pointer MakeOutput(const DataObjectIdentifierType &name) override;
60 
65  void GenerateInputRequestedRegion() override;
66 
67  protected:
69  ~PlanarFigureSource() override;
70  };
71 } // namespace mitk
72 #endif
itk::DataObject::DataObjectIdentifierType DataObjectIdentifierType
Base of all data objects.
Definition: mitkBaseData.h:37
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...
#define mitkBaseDataSourceGetOutputDeclarations