+++ /dev/null
-// -------------------------------------------------------------------------
-// @author Leonardo Florez-Valencia (florez-l@javeriana.edu.co)
-// -------------------------------------------------------------------------
-
-#ifndef __cpExtensions__Algorithms__SkeletonWriter__h__
-#define __cpExtensions__Algorithms__SkeletonWriter__h__
-
-#include <cpExtensions/Config.h>
-#include <itkProcessObject.h>
-
-// -------------------------------------------------------------------------
-namespace cpExtensions
-{
- namespace Algorithms
- {
- /**
- */
- template< class _TSkeleton >
- class SkeletonWriter
- : public itk::ProcessObject
- {
- public:
- // Basic types
- typedef SkeletonWriter Self;
- typedef itk::ProcessObject Superclass;
- typedef itk::SmartPointer< Self > Pointer;
- typedef itk::SmartPointer< const Self > ConstPointer;
-
- typedef _TSkeleton TSkeleton;
-
- public:
- itkNewMacro( Self );
- itkTypeMacro( SkeletonWriter, itk::ImageSource );
-
- itkGetConstMacro( FileName, std::string );
- itkSetMacro( FileName, std::string );
-
- public:
- const TSkeleton* GetInput( ) const;
- void SetInput( const TSkeleton* skeleton );
- virtual void Update( ) cpExtensions_OVERRIDE;
-
- protected:
- SkeletonWriter( );
- virtual ~SkeletonWriter( );
-
- virtual void GenerateData( ) cpExtensions_OVERRIDE;
-
- private:
- // Purposely not implemented
- SkeletonWriter( const Self& );
- void operator=( const Self& );
-
- protected:
- std::string m_FileName;
- };
-
- } // ecapseman
-
-} // ecapseman
-
-// -------------------------------------------------------------------------
-#ifndef ITK_MANUAL_INSTANTIATION
-# include <cpExtensions/Algorithms/SkeletonWriter.hxx>
-#endif // ITK_MANUAL_INSTANTIATION
-
-#endif // __cpExtensions__Algorithms__SkeletonWriter__h__
-
-// eof - $RCSfile$