Medical Imaging Interaction Toolkit  2016.11.0
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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef MITKPlanarFigureSOURCE_H_HEADER_INCLUDED
18 #define MITKPlanarFigureSOURCE_H_HEADER_INCLUDED
19 
20 #include "mitkBaseDataSource.h"
21 #include "mitkCommon.h"
22 #include "mitkPlanarFigure.h"
24 
25 namespace mitk
26 {
38  {
39  public:
40  mitkClassMacro(PlanarFigureSource, BaseDataSource) itkFactorylessNewMacro(Self) itkCloneMacro(Self)
41 
43  typedef OutputType::Pointer OutputTypePointer;
44  typedef itk::DataObject::Pointer DataObjectPointer;
45 
47 
54  virtual itk::DataObject::Pointer
55  MakeOutput(DataObjectPointerArraySizeType idx) override;
56 
63  virtual itk::DataObject::Pointer MakeOutput(const DataObjectIdentifierType &name) override;
64 
69  void GenerateInputRequestedRegion() override;
70 
71  protected:
73  virtual ~PlanarFigureSource();
74  };
75 } // namespace mitk
76 #endif
itk::DataObject::DataObjectIdentifierType DataObjectIdentifierType
Base of all data objects.
Definition: mitkBaseData.h:39
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:44
#define MITKPLANARFIGURE_EXPORT
Base-class for geometric planar (2D) figures, such as lines, circles, rectangles, polygons...
#define mitkBaseDataSourceGetOutputDeclarations