]> Creatis software - cpPlugins.git/blob - cpPlugins/Plugins/IO/MeshReader.h
Moved to version 1.0
[cpPlugins.git] / 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     public:
30       virtual DialogResult ExecConfigurationDialog( QWidget* parent );
31
32     protected:
33       MeshReader( );
34       virtual ~MeshReader( );
35
36       virtual std::string _GenerateData( );
37
38       template< unsigned int D >
39         std::string _GD0( );
40
41       template< class P, unsigned int D >
42         std::string _GD1( );
43
44     private:
45       // Purposely not implemented
46       MeshReader( const Self& );
47       Self& operator=( const Self& );
48     };
49
50     // ---------------------------------------------------------------------
51     CPPLUGINS_INHERIT_PROVIDER( MeshReader );
52
53   } // ecapseman
54
55 } // ecapseman
56
57 #endif // __CPPLUGINS__PLUGINS__MESHREADER__H__
58
59 // eof - $RCSfile$