#ifndef __FPA__IO__MATRIXVALUESCONTAINERREADER__H__ #define __FPA__IO__MATRIXVALUESCONTAINERREADER__H__ #include #include namespace fpa { namespace IO { /** */ template< class T > class MatrixValuesContainerReader : public itk::ProcessObject { public: typedef MatrixValuesContainerReader Self; typedef itk::ProcessObject Superclass; typedef itk::SmartPointer< Self > Pointer; typedef itk::SmartPointer< const Self > ConstPointer; typedef T TTree; public: itkNewMacro( Self ); itkTypeMacro( MatrixValuesContainerReader, itkProcessObject ); itkGetConstMacro( FileName, std::string ); itkGetConstMacro( NumberOfLabels, unsigned int ); itkSetMacro( FileName, std::string ); public: T* GetOutput( ); virtual void Update( ); protected: MatrixValuesContainerReader( ); virtual ~MatrixValuesContainerReader( ); virtual void GenerateData( ); private: // Purposely not implemented MatrixValuesContainerReader( const Self& other ); Self& operator=( const Self& other ); protected: std::string m_FileName; unsigned int m_NumberOfLabels; }; } // ecapseman } // ecapseman #include #endif // __FPA__IO__MATRIXVALUESCONTAINERREADER__H__ // eof - $RCSfile$