Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkPlanarFigureIOFactory.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 #ifndef __mitkPlanarFigureIOFactory_h
17 #define __mitkPlanarFigureIOFactory_h
18 
19 #ifdef _MSC_VER
20 #pragma warning(disable : 4786)
21 #endif
22 
23 #include "itkObjectFactoryBase.h"
24 #include "mitkBaseData.h"
25 
26 namespace mitk
27 {
28  //##Documentation
29  //## @brief Create instances of PlanarFigureReader objects using an object factory.
30  //##
31  //## @ingroup MitkPlanarFigureModule
32  class PlanarFigureIOFactory : public itk::ObjectFactoryBase
33  {
34  public:
37  typedef itk::ObjectFactoryBase Superclass;
40 
42  virtual const char *GetITKSourceVersion(void) const override;
43  virtual const char *GetDescription(void) const override;
44 
46  itkFactorylessNewMacro(Self);
49  itkTypeMacro(PlanarFigureIOFactory, ObjectFactoryBase);
50 
55  DEPRECATED(static void RegisterOneFactory(void))
56  {
58  ObjectFactoryBase::RegisterFactory(PlanarFigureIOFactory);
59  }
60 
61  protected:
64 
65  private:
66  PlanarFigureIOFactory(const Self &); // purposely not implemented
67  void operator=(const Self &); // purposely not implemented
68  };
69 
70 } // end namespace mitk
71 
72 #endif
itk::SmartPointer< const Self > ConstPointer
DataCollection - Class to facilitate loading/accessing structured data.
virtual const char * GetITKSourceVersion(void) const override
#define DEPRECATED(func)
Definition: mitkCommon.h:183
static PlanarFigureIOFactory * FactoryNew()
Create instances of PlanarFigureReader objects using an object factory.
itk::SmartPointer< Self > Pointer
virtual const char * GetDescription(void) const override