]> Creatis software - cpPlugins.git/blob - lib/cpPlugins/Plugins/ImageReader.h
Installation and configuration scripts added
[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
32       virtual std::string _GenerateData( );
33
34       template< unsigned int D >
35       std::string _GenerateData0( );
36
37       template< class P, unsigned int D >
38       std::string _GenerateData1( );
39
40     protected:
41       itk::ProcessObject::Pointer m_Reader;
42     };
43
44     // ---------------------------------------------------------------------
45     PLUMA_INHERIT_PROVIDER( ImageReader, cpPlugins::Interface::Object );
46
47   } // ecapseman
48
49 } // ecapseman
50
51 #endif // __CPPLUGINS__PLUGINS__IMAGEREADER__H__
52
53 // eof - $RCSfile$