1 #ifndef __CPPLUGINS__EXTENSIONS__MESHREADER__H__
2 #define __CPPLUGINS__EXTENSIONS__MESHREADER__H__
5 #include <itkMeshSource.h>
13 template< typename M >
15 : public itk::MeshSource< M >
18 typedef MeshReader Self;
19 typedef itk::MeshSource< M > Superclass;
20 typedef itk::SmartPointer< Self > Pointer;
21 typedef itk::SmartPointer< const Self > ConstPointer;
27 itkTypeMacro( MeshReader, itkMeshSource );
29 itkSetStringMacro( FileName );
30 itkGetStringMacro( FileName );
33 virtual itk::ModifiedTimeType GetMTime( ) const;
37 virtual ~MeshReader( );
39 virtual void GenerateData( );
45 // Purposely not implemented
46 MeshReader( const Self& );
47 Self& operator=( const Self & );
50 typename Superclass::Pointer m_Reader;
51 std::string m_FileName;
58 #include <cpPlugins/Extensions/MeshReader.hxx>
60 #endif // __CPPLUGINS__EXTENSIONS__MESHREADER__H__