]> Creatis software - FrontAlgorithms.git/blob - lib/fpa/VTK/Image/PolyLineParametricPathToPolyDataFilter.h
...
[FrontAlgorithms.git] / lib / fpa / VTK / Image / PolyLineParametricPathToPolyDataFilter.h
1 // =========================================================================
2 // @author Leonardo Florez Valencia
3 // @email florez-l@javeriana.edu.co
4 // =========================================================================
5 #ifndef __fpa__VTK__Image__PolyLineParametricPathToPolyDataFilter__h__
6 #define __fpa__VTK__Image__PolyLineParametricPathToPolyDataFilter__h__
7
8 #include <vtkPolyDataAlgorithm.h>
9
10 namespace fpa
11 {
12   namespace VTK
13   {
14     namespace Image
15     {
16       /**
17        */
18       template< class _TPath >
19       class PolyLineParametricPathToPolyDataFilter
20         : public vtkPolyDataAlgorithm
21       {
22       public:
23         typedef PolyLineParametricPathToPolyDataFilter Self;
24         typedef _TPath                                 TPath;
25
26       public:
27         vtkTypeMacro(
28           PolyLineParametricPathToPolyDataFilter,
29           vtkPolyDataAlgorithm
30           );
31
32       public:
33         static Self* New( );
34
35         const TPath* GetInput( ) const;
36         void SetInput( const TPath* path );
37
38       protected:
39         PolyLineParametricPathToPolyDataFilter( );
40         virtual ~PolyLineParametricPathToPolyDataFilter( );
41
42         int RequestData(
43           vtkInformation* information,
44           vtkInformationVector** input,
45           vtkInformationVector* output
46           );
47         int RequestInformation(
48           vtkInformation* information,
49           vtkInformationVector** input,
50           vtkInformationVector* output
51           );
52
53       private:
54         // Purposely not implemented
55         PolyLineParametricPathToPolyDataFilter( const Self& );
56         void operator=( const Self& );
57
58       protected:
59         const TPath* m_PolyLineParametricPath;
60       };
61
62     } // ecapseman
63
64   } // ecapseman
65
66 } // ecapseman
67
68 #ifndef ITK_MANUAL_INSTANTIATION
69 #  include <fpa/VTK/Image/PolyLineParametricPathToPolyDataFilter.hxx>
70 #endif // ITK_MANUAL_INSTANTIATION
71 #endif // __fpa__VTK__Image__PolyLineParametricPathToPolyDataFilter__h__
72
73 // eof - $RCSfile$