1 // -------------------------------------------------------------------------
2 // @author Leonardo Florez-Valencia (florez-l@javeriana.edu.co)
3 // -------------------------------------------------------------------------
5 #ifndef __cpExtensions__Algorithms__PolyLineParametricPathToSimple3DCurve__h__
6 #define __cpExtensions__Algorithms__PolyLineParametricPathToSimple3DCurve__h__
8 #include <cpExtensions/Config.h>
9 #include <itkProcessObject.h>
11 // -------------------------------------------------------------------------
12 namespace cpExtensions
18 template< class _TPolyLine, class _TCurve >
19 class cpExtensions_EXPORT PolyLineParametricPathToSimple3DCurve
20 : public itk::ProcessObject
24 typedef PolyLineParametricPathToSimple3DCurve Self;
25 typedef itk::ProcessObject Superclass;
26 typedef itk::SmartPointer< Self > Pointer;
27 typedef itk::SmartPointer< const Self > ConstPointer;
31 itkTypeMacro( PolyLineParametricPathToSimple3DCurve, itk::ProcessObject );
33 itkGetConstMacro( NumberOfSamples, unsigned long );
34 itkSetMacro( NumberOfSamples, unsigned long );
37 _TPolyLine* GetInput( );
38 const _TPolyLine* GetInput( ) const;
39 void SetInput( _TPolyLine* pl );
41 _TCurve* GetOutput( );
42 const _TCurve* GetOutput( ) const;
45 PolyLineParametricPathToSimple3DCurve( );
46 virtual ~PolyLineParametricPathToSimple3DCurve( );
48 virtual void GenerateData( ) cpExtensions_OVERRIDE;
51 // Purposely not implemented
52 PolyLineParametricPathToSimple3DCurve( const Self& );
53 void operator=( const Self& );
56 unsigned long m_NumberOfSamples;
63 #endif // __cpExtensions__Algorithms__PolyLineParametricPathToSimple3DCurve__h__