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