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