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