1 #ifndef __CPPLUGINS__PLUGINS__MESHREADER__H__
2 #define __CPPLUGINS__PLUGINS__MESHREADER__H__
4 #include <cpPlugins/Plugins/cpPlugins_Export.h>
5 #include <cpPlugins/Interface/MeshSource.h>
15 class cpPlugins_EXPORT MeshReader
16 : public cpPlugins::Interface::MeshSource
19 typedef MeshReader Self;
20 typedef cpPlugins::Interface::MeshSource Superclass;
21 typedef itk::SmartPointer< Self > Pointer;
22 typedef itk::SmartPointer< const Self > ConstPointer;
26 itkTypeMacro( MeshReader, cpPluginsInterfaceMeshSource );
30 virtual ~MeshReader( );
32 virtual std::string _GenerateData( );
34 template< unsigned int D >
37 template< class P, unsigned int D >
41 // Purposely not implemented
42 MeshReader( const Self& );
43 Self& operator=( const Self& );
46 vtkDataReader* m_Reader;
49 // ---------------------------------------------------------------------
50 CPPLUGINS_INHERIT_PROVIDER( MeshReader );
56 #endif // __CPPLUGINS__PLUGINS__MESHREADER__H__