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