1 #ifndef __CPPLUGINS__EXTENSIONS__IO__MESHREADER__H__
2 #define __CPPLUGINS__EXTENSIONS__IO__MESHREADER__H__
5 #include <itkMeshSource.h>
15 template< typename M >
17 : public itk::MeshSource< M >
20 typedef MeshReader Self;
21 typedef itk::MeshSource< M > Superclass;
22 typedef itk::SmartPointer< Self > Pointer;
23 typedef itk::SmartPointer< const Self > ConstPointer;
29 itkTypeMacro( MeshReader, itkMeshSource );
31 itkSetStringMacro( FileName );
32 itkGetStringMacro( FileName );
35 virtual itk::ModifiedTimeType GetMTime( ) const;
39 virtual ~MeshReader( );
41 virtual void GenerateData( );
47 // Purposely not implemented
48 MeshReader( const Self& );
49 Self& operator=( const Self & );
52 typename Superclass::Pointer m_Reader;
53 std::string m_FileName;
62 #include <cpPlugins/Extensions/IO/MeshReader.hxx>
64 #endif // __CPPLUGINS__EXTENSIONS__IO__MESHREADER__H__