Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkPointSetIOFactory.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 __mitkPointSetIOFactory_h
17 #define __mitkPointSetIOFactory_h
18 
19 #ifdef _MSC_VER
20 #pragma warning(disable : 4786)
21 #endif
22 
23 #include <MitkLegacyIOExports.h>
24 
25 #include "itkObjectFactoryBase.h"
26 #include "mitkBaseData.h"
27 
28 namespace mitk
29 {
30  //##Documentation
31  //## @brief Create instances of PointSetReader objects using an object factory.
32  //##
33  //## @ingroup MitkLegacyIOModule
34  //## @deprecatedSince{2014_10} Use mitk::IOUtils or mitk::FileReaderRegistry instead.
35  class DEPRECATED() MITKLEGACYIO_EXPORT PointSetIOFactory : public itk::ObjectFactoryBase
36  {
37  public:
40  typedef itk::ObjectFactoryBase Superclass;
43 
45  virtual const char *GetITKSourceVersion(void) const override;
46  virtual const char *GetDescription(void) const override;
47 
49  itkFactorylessNewMacro(Self);
52  itkTypeMacro(PointSetIOFactory, ObjectFactoryBase);
53 
58  DEPRECATED(static void RegisterOneFactory(void))
59  {
61  ObjectFactoryBase::RegisterFactory(PointSetIOFactory);
62  }
63 
64  protected:
67 
68  private:
69  PointSetIOFactory(const Self &); // purposely not implemented
70  void operator=(const Self &); // purposely not implemented
71  };
72 
73 } // end namespace mitk
74 
75 #endif
#define MITKLEGACYIO_EXPORT
static Pointer New()
DataCollection - Class to facilitate loading/accessing structured data.
#define DEPRECATED(func)
Definition: mitkCommon.h:183
itk::SmartPointer< Self > Pointer
itk::ObjectFactoryBase Superclass
itk::SmartPointer< const Self > ConstPointer
Create instances of PointSetReader objects using an object factory.
static void RegisterOneFactory(void)
static PointSetIOFactory * FactoryNew()