1 // =========================================================================
2 // @author Leonardo Florez Valencia
3 // @email florez-l@javeriana.edu.co
4 // =========================================================================
5 #ifndef __fpa__Common__Image__PathWriter__h__
6 #define __fpa__Common__Image__PathWriter__h__
8 #include <itkProcessObject.h>
18 template< class _TPath >
20 : public itk::ProcessObject
24 typedef PathWriter Self;
25 typedef itk::ProcessObject Superclass;
26 typedef itk::SmartPointer< Self > Pointer;
27 typedef itk::SmartPointer< const Self > ConstPointer;
33 itkTypeMacro( PathWriter, itk::ProcessObject );
35 itkGetConstMacro( FileName, std::string );
36 itkSetMacro( FileName, std::string );
39 const TPath* GetInput( ) const;
40 void SetInput( const TPath* path );
41 virtual void Update( ) override;
45 virtual ~PathWriter( );
47 virtual void GenerateData( ) override;
50 // Purposely not implemented
51 PathWriter( const Self& );
52 void operator=( const Self& );
55 std::string m_FileName;
64 #ifndef ITK_MANUAL_INSTANTIATION
65 # include <fpa/Common/Image/PathWriter.hxx>
66 #endif // ITK_MANUAL_INSTANTIATION
67 #endif // __fpa__Common__Image__PathWriter__h__