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