--- /dev/null
+// =========================================================================
+// @author Leonardo Florez Valencia
+// @email florez-l@javeriana.edu.co
+// =========================================================================
+#ifndef __fpa__Common__Image__PathWriter__h__
+#define __fpa__Common__Image__PathWriter__h__
+
+#include <itkProcessObject.h>
+
+namespace fpa
+{
+ namespace Common
+ {
+ namespace Image
+ {
+ /**
+ */
+ template< class _TPath >
+ class PathWriter
+ : public itk::ProcessObject
+ {
+ public:
+ // Basic types
+ typedef PathWriter Self;
+ typedef itk::ProcessObject Superclass;
+ typedef itk::SmartPointer< Self > Pointer;
+ typedef itk::SmartPointer< const Self > ConstPointer;
+
+ typedef _TPath TPath;
+
+ public:
+ itkNewMacro( Self );
+ itkTypeMacro( PathWriter, 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:
+ PathWriter( );
+ virtual ~PathWriter( );
+
+ virtual void GenerateData( ) override;
+
+ private:
+ // Purposely not implemented
+ PathWriter( const Self& );
+ void operator=( const Self& );
+
+ protected:
+ std::string m_FileName;
+ };
+
+ } // ecapseman
+
+ } // ecapseman
+
+} // ecapseman
+
+#ifndef ITK_MANUAL_INSTANTIATION
+# include <fpa/Common/Image/PathWriter.hxx>
+#endif // ITK_MANUAL_INSTANTIATION
+#endif // __fpa__Common__Image__PathWriter__h__
+
+// eof - $RCSfile$