X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2Ffpa%2FVTK%2FImage%2FPolyLineParametricPathToPolyDataFilter.h;fp=lib%2Ffpa%2FVTK%2FImage%2FPolyLineParametricPathToPolyDataFilter.h;h=a8b9ea00fe8a8e33aa3024be5c66e0f4f08b2415;hb=2047276c8f1a02432fbcc7014722d460d6c1e60f;hp=0000000000000000000000000000000000000000;hpb=3c639e5da479c7216a0a302ffa156ac6762caeed;p=FrontAlgorithms.git diff --git a/lib/fpa/VTK/Image/PolyLineParametricPathToPolyDataFilter.h b/lib/fpa/VTK/Image/PolyLineParametricPathToPolyDataFilter.h new file mode 100644 index 0000000..a8b9ea0 --- /dev/null +++ b/lib/fpa/VTK/Image/PolyLineParametricPathToPolyDataFilter.h @@ -0,0 +1,73 @@ +// ========================================================================= +// @author Leonardo Florez Valencia +// @email florez-l@javeriana.edu.co +// ========================================================================= +#ifndef __fpa__VTK__Image__PolyLineParametricPathToPolyDataFilter__h__ +#define __fpa__VTK__Image__PolyLineParametricPathToPolyDataFilter__h__ + +#include + +namespace fpa +{ + namespace VTK + { + namespace Image + { + /** + */ + template< class _TPath > + class PolyLineParametricPathToPolyDataFilter + : public vtkPolyDataAlgorithm + { + public: + typedef PolyLineParametricPathToPolyDataFilter Self; + typedef _TPath TPath; + + public: + vtkTypeMacro( + PolyLineParametricPathToPolyDataFilter, + vtkPolyDataAlgorithm + ); + + public: + static Self* New( ); + + const TPath* GetInput( ) const; + void SetInput( const TPath* path ); + + protected: + PolyLineParametricPathToPolyDataFilter( ); + virtual ~PolyLineParametricPathToPolyDataFilter( ); + + int RequestData( + vtkInformation* information, + vtkInformationVector** input, + vtkInformationVector* output + ); + int RequestInformation( + vtkInformation* information, + vtkInformationVector** input, + vtkInformationVector* output + ); + + private: + // Purposely not implemented + PolyLineParametricPathToPolyDataFilter( const Self& ); + void operator=( const Self& ); + + protected: + const TPath* m_PolyLineParametricPath; + }; + + } // ecapseman + + } // ecapseman + +} // ecapseman + +#ifndef ITK_MANUAL_INSTANTIATION +# include +#endif // ITK_MANUAL_INSTANTIATION +#endif // __fpa__VTK__Image__PolyLineParametricPathToPolyDataFilter__h__ + +// eof - $RCSfile$