+++ /dev/null
-#ifndef __CPEXTENSIONS__IO__MESHREADER__H__
-#define __CPEXTENSIONS__IO__MESHREADER__H__
-
-#include <string>
-#include <itkMeshSource.h>
-
-namespace cpExtensions
-{
- namespace IO
- {
- /**
- */
- template< typename M >
- class MeshReader
- : public itk::MeshSource< M >
- {
- public:
- typedef MeshReader Self;
- typedef itk::MeshSource< M > Superclass;
- typedef itk::SmartPointer< Self > Pointer;
- typedef itk::SmartPointer< const Self > ConstPointer;
-
- typedef M MeshType;
-
- public:
- itkNewMacro( Self );
- itkTypeMacro( MeshReader, itkMeshSource );
-
- itkSetStringMacro( FileName );
- itkGetStringMacro( FileName );
-
- public:
- virtual itk::ModifiedTimeType GetMTime( ) const;
-
- protected:
- MeshReader( );
- virtual ~MeshReader( );
-
- virtual void GenerateData( );
-
- template< class R >
- void _Read( );
-
- private:
- // Purposely not implemented
- MeshReader( const Self& );
- Self& operator=( const Self & );
-
- protected:
- typename Superclass::Pointer m_Reader;
- std::string m_FileName;
- };
-
- } // ecapseman
-
-} // ecapseman
-
-#ifndef ITK_MANUAL_INSTANTIATION
-#include <cpExtensions/IO/MeshReader.hxx>
-#endif // ITK_MANUAL_INSTANTIATION
-
-#endif // __CPEXTENSIONS__IO__MESHREADER__H__
-
-// eof - $RCSfile$