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