]> Creatis software - FrontAlgorithms.git/blob - lib/fpa/VTK/PointPathToPolyDataFilter.h
...
[FrontAlgorithms.git] / lib / fpa / VTK / PointPathToPolyDataFilter.h
1 #ifndef __FPA__VTK__POINTPATHTOPOLYDATAFILTER__H__
2 #define __FPA__VTK__POINTPATHTOPOLYDATAFILTER__H__
3
4 #include <vtkPolyDataAlgorithm.h>
5
6 namespace fpa
7 {
8   namespace VTK
9   {
10     /**
11      */
12     template< class C >
13     class PointPathToPolyDataFilter
14       : public vtkPolyDataAlgorithm
15     {
16     public:
17       typedef PointPathToPolyDataFilter Self;
18
19       typedef C                      TContainer;
20       typedef typename C::value_type TPoint;
21
22     public:
23       vtkTypeMacro( PointPathToPolyDataFilter, vtkPolyDataAlgorithm );
24
25     public:
26       static Self* New( );
27
28       const C* GetInput( ) const;
29       void SetInput( const C* c );
30
31     protected:
32       PointPathToPolyDataFilter( );
33       virtual ~PointPathToPolyDataFilter( );
34
35       int RequestData(
36         vtkInformation* information,
37         vtkInformationVector** input,
38         vtkInformationVector* output
39         );
40       int RequestInformation(
41         vtkInformation* information,
42         vtkInformationVector** input,
43         vtkInformationVector* output
44         );
45
46     private:
47       // Purposely not implemented
48       PointPathToPolyDataFilter( const Self& );
49       void operator=( const Self& );
50
51     protected:
52       const C* m_Container;
53     };
54
55   } // ecapseman
56
57 } // ecapseman
58
59 #include <fpa/VTK/PointPathToPolyDataFilter.hxx>
60
61 #endif // __FPA__VTK__POINTPATHTOPOLYDATAFILTER__H__
62
63 // eof - $RCSfile$