X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpExtensions%2FIO%2FMeshReader.h;fp=lib%2FcpExtensions%2FIO%2FMeshReader.h;h=0000000000000000000000000000000000000000;hb=aa77db36cc1d87ba014c982a235239c3c87224f3;hp=af162931cb346ca6c9e92bf6b10b3476e6a03712;hpb=733108d258a27799df875ceda2d84c3cafea64d3;p=cpPlugins.git diff --git a/lib/cpExtensions/IO/MeshReader.h b/lib/cpExtensions/IO/MeshReader.h deleted file mode 100644 index af16293..0000000 --- a/lib/cpExtensions/IO/MeshReader.h +++ /dev/null @@ -1,64 +0,0 @@ -#ifndef __CPEXTENSIONS__IO__MESHREADER__H__ -#define __CPEXTENSIONS__IO__MESHREADER__H__ - -#include -#include - -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 -#endif // ITK_MANUAL_INSTANTIATION - -#endif // __CPEXTENSIONS__IO__MESHREADER__H__ - -// eof - $RCSfile$