1 #ifndef __CPEXTENSIONS__IO__MESHREADER__H__
2 #define __CPEXTENSIONS__IO__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 #ifndef ITK_MANUAL_INSTANTIATION
59 #include <cpExtensions/IO/MeshReader.hxx>
60 #endif // ITK_MANUAL_INSTANTIATION
62 #endif // __CPEXTENSIONS__IO__MESHREADER__H__