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