// ========================================================================= // @author Leonardo Florez Valencia // @email florez-l@javeriana.edu.co // ========================================================================= #ifndef __fpa__Common__Image__PolyLineParametricPathWriter__h__ #define __fpa__Common__Image__PolyLineParametricPathWriter__h__ #include namespace fpa { namespace Common { namespace Image { /** */ template< class _TPath > class PolyLineParametricPathWriter : public itk::ProcessObject { public: // Basic types typedef PolyLineParametricPathWriter Self; typedef itk::ProcessObject Superclass; typedef itk::SmartPointer< Self > Pointer; typedef itk::SmartPointer< const Self > ConstPointer; typedef _TPath TPath; public: itkNewMacro( Self ); itkTypeMacro( PolyLineParametricPathWriter, itk::ProcessObject ); itkGetConstMacro( FileName, std::string ); itkSetMacro( FileName, std::string ); public: const TPath* GetInput( ) const; void SetInput( const TPath* path ); virtual void Update( ) override; protected: PolyLineParametricPathWriter( ); virtual ~PolyLineParametricPathWriter( ); virtual void GenerateData( ) override; private: // Purposely not implemented PolyLineParametricPathWriter( const Self& ); void operator=( const Self& ); protected: std::string m_FileName; }; } // ecapseman } // ecapseman } // ecapseman #ifndef ITK_MANUAL_INSTANTIATION # include #endif // ITK_MANUAL_INSTANTIATION #endif // __fpa__Common__Image__PolyLineParametricPathWriter__h__ // eof - $RCSfile$