]> Creatis software - cpPlugins.git/blob - plugins/cpPluginsIO/ImageReader.h
...
[cpPlugins.git] / plugins / cpPluginsIO / ImageReader.h
1 #ifndef __CPPLUGINSIO__IMAGEREADER__H__
2 #define __CPPLUGINSIO__IMAGEREADER__H__
3
4 #include <cpPluginsIO/cpPluginsIO_Export.h>
5 #include <cpPlugins/ProcessObject.h>
6
7 namespace itk
8 {
9   class ImageIOBase;
10 }
11
12 namespace cpPluginsIO
13 {
14   /**
15    */
16   class cpPluginsIO_EXPORT ImageReader
17     : public cpPlugins::ProcessObject
18   {
19   public:
20     typedef ImageReader                     Self;
21     typedef cpPlugins::ProcessObject        Superclass;
22     typedef itk::SmartPointer< Self >       Pointer;
23     typedef itk::SmartPointer< const Self > ConstPointer;
24
25   public:
26     itkNewMacro( Self );
27     itkTypeMacro( ImageReader, cpPlugins::ProcessObject );
28     cpPlugins_Id_Macro( ImageReader, IO );
29
30   protected:
31     ImageReader( );
32     virtual ~ImageReader( );
33
34     virtual void _GenerateData( ) ITK_OVERRIDE;
35
36     template< unsigned int _Dim >
37       inline void _GD0( itk::ImageIOBase* io );
38
39     template< class _TPixel, unsigned int _Dim >
40       inline void _GD1( itk::ImageIOBase* io );
41
42   private:
43     // Purposely not implemented
44     ImageReader( const Self& );
45     Self& operator=( const Self& );
46   };
47
48 } // ecapseman
49
50 #endif // __CPPLUGINSIO__IMAGEREADER__H__
51
52 // eof - $RCSfile$