NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
itkNifTKImageIOFactory.h
Go to the documentation of this file.
1 /*=============================================================================
2 
3  NifTK: A software platform for medical image computing.
4 
5  Copyright (c) University College London (UCL). All rights reserved.
6 
7  This software is distributed WITHOUT ANY WARRANTY; without even
8  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  PURPOSE.
10 
11  See LICENSE.txt in the top level directory for details.
12 
13 =============================================================================*/
14 
15 #ifndef itkNifTKImageIOFactory_h
16 #define itkNifTKImageIOFactory_h
17 
18 #ifdef _MSC_VER
19 #pragma warning ( disable : 4786 )
20 #endif
21 
22 #include <NifTKConfigure.h>
24 
25 #include <itkObjectFactoryBase.h>
26 #include <itkImageIOBase.h>
27 
28 namespace itk
29 {
34 class NIFTKITKIO_WINEXPORT ITK_EXPORT NifTKImageIOFactory : public ObjectFactoryBase
35 {
36 public:
39  typedef ObjectFactoryBase Superclass;
40  typedef SmartPointer<Self> Pointer;
41  typedef SmartPointer<const Self> ConstPointer;
42 
44  virtual const char* GetITKSourceVersion(void) const override;
45  virtual const char* GetDescription(void) const override;
46 
48  itkFactorylessNewMacro(Self)
49 
50 
51  itkTypeMacro(NifTKImageIOFactory, ObjectFactoryBase)
52 
60 
61  static void Initialize();
62 
63 protected:
64  NifTKImageIOFactory();
65  virtual ~NifTKImageIOFactory();
66 
67 private:
68  NifTKImageIOFactory(const Self&); //purposely not implemented
69  void operator=(const Self&); //purposely not implemented
70 
71 };
72 
73 } // end namespace itk
74 
75 #endif
Creates instances of NifTK specific image IO objects.
Definition: itkNifTKImageIOFactory.h:34
Definition: niftkITKAffineResampleImage.cxx:74
NifTKImageIOFactory Self
Definition: itkNifTKImageIOFactory.h:38
#define NIFTKITKIO_WINEXPORT
Definition: niftkITKIOWin32ExportHeader.h:28
ObjectFactoryBase Superclass
Definition: itkNifTKImageIOFactory.h:39
SmartPointer< Self > Pointer
Definition: itkNifTKImageIOFactory.h:40
SmartPointer< const Self > ConstPointer
Definition: itkNifTKImageIOFactory.h:41