]> Creatis software - cpPlugins.git/blob - lib/cpPlugins/Plugins/ImageReader.h
39d243b4ae8a7aa1fc816d0f5dcda4a099b2e490
[cpPlugins.git] / lib / cpPlugins / Plugins / ImageReader.h
1 #ifndef __CPPLUGINS__PLUGINS__IMAGEREADER__H__
2 #define __CPPLUGINS__PLUGINS__IMAGEREADER__H__
3
4 #include <cpPlugins/Plugins/cpPlugins_Export.h>
5 #include <cpPlugins/Interface/SourceObject.h>
6 #include <itkProcessObject.h>
7
8 namespace cpPlugins
9 {
10   namespace Plugins
11   {
12     /**
13      */
14     class cpPlugins_EXPORT ImageReader
15       : public cpPlugins::Interface::SourceObject
16     {
17     public:
18       typedef ImageReader                        Self;
19       typedef cpPlugins::Interface::SourceObject Superclass;
20
21       typedef Superclass::TParameter  TParameter;
22       typedef Superclass::TParameters TParameters;
23
24     public:
25       ImageReader( );
26       virtual ~ImageReader( );
27
28       virtual std::string GetClassName( ) const;
29
30     protected:
31       virtual std::string _GenerateData( );
32
33       template< unsigned int D >
34       std::string _GD0( );
35
36       template< class P, unsigned int D >
37       std::string _GD1( );
38
39     protected:
40       itk::ProcessObject::Pointer m_Reader;
41     };
42
43     // ---------------------------------------------------------------------
44     PLUMA_INHERIT_PROVIDER( ImageReader, cpPlugins::Interface::Object );
45
46   } // ecapseman
47
48 } // ecapseman
49
50 #endif // __CPPLUGINS__PLUGINS__IMAGEREADER__H__
51
52 // eof - $RCSfile$