+++ /dev/null
-// -------------------------------------------------------------------------
-// @author Leonardo Florez-Valencia (florez-l@javeriana.edu.co)
-// -------------------------------------------------------------------------
-
-#ifndef __cpExtensions__Algorithms__PolyLineParametricPathWriter__h__
-#define __cpExtensions__Algorithms__PolyLineParametricPathWriter__h__
-
-#include <itkProcessObject.h>
-#include <itkImage.h>
-
-// -------------------------------------------------------------------------
-namespace cpExtensions
-{
- namespace Algorithms
- {
- /**
- */
- template< class _TPolyLine, class _TImage = itk::Image< unsigned char, _TPolyLine::PathDimension > >
- 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;
-
- public:
- itkNewMacro( Self );
- itkTypeMacro( PolyLineParametricPathWriter, itk::ProcessObject );
-
- itkGetConstMacro( FileName, std::string );
- itkGetConstMacro( NumberOfPoints, long );
-
- itkSetMacro( FileName, std::string );
- itkSetMacro( NumberOfPoints, long );
-
- public:
- void SetInput( const _TPolyLine* input );
- const _TPolyLine* GetInput( );
-
- void SetImage( const _TImage* image );
- const _TImage* GetImage( );
-
- virtual void Update( );
-
- protected:
- PolyLineParametricPathWriter( );
- virtual ~PolyLineParametricPathWriter( );
-
- virtual void GenerateData( ) override;
-
- private:
- // Purposely not implemented
- PolyLineParametricPathWriter( const Self& );
- void operator=( const Self& );
-
- protected:
- std::string m_FileName;
- long m_NumberOfPoints;
- };
-
- } // ecapseman
-
-} // ecapseman
-
-#ifndef ITK_MANUAL_INSTANTIATION
-# include <cpExtensions/Algorithms/PolyLineParametricPathWriter.hxx>
-#endif // ITK_MANUAL_INSTANTIATION
-
-#endif // __cpExtensions__Algorithms__PolyLineParametricPathWriter__h__
-
-// eof - $RCSfile$