X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpExtensions%2FAlgorithms%2FPolyLineParametricPathWriter.h;fp=lib%2FcpExtensions%2FAlgorithms%2FPolyLineParametricPathWriter.h;h=0000000000000000000000000000000000000000;hb=2e142df11d6f312a2a2b5097b8da73571ed523e8;hp=deb6b30e68b1c713968e36cf11d927009226ac36;hpb=61b3659afe961ed248f30e26f9ca8f28fcfafddc;p=cpPlugins.git diff --git a/lib/cpExtensions/Algorithms/PolyLineParametricPathWriter.h b/lib/cpExtensions/Algorithms/PolyLineParametricPathWriter.h deleted file mode 100644 index deb6b30..0000000 --- a/lib/cpExtensions/Algorithms/PolyLineParametricPathWriter.h +++ /dev/null @@ -1,74 +0,0 @@ -// ------------------------------------------------------------------------- -// @author Leonardo Florez-Valencia (florez-l@javeriana.edu.co) -// ------------------------------------------------------------------------- - -#ifndef __cpExtensions__Algorithms__PolyLineParametricPathWriter__h__ -#define __cpExtensions__Algorithms__PolyLineParametricPathWriter__h__ - -#include -#include - -// ------------------------------------------------------------------------- -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 -#endif // ITK_MANUAL_INSTANTIATION - -#endif // __cpExtensions__Algorithms__PolyLineParametricPathWriter__h__ - -// eof - $RCSfile$