]> Creatis software - FrontAlgorithms.git/blob - lib/fpa/VTK/Image/ImageSkeletonToPolyData.h
3c19b7b3fda4e0f957ca4dfffe3237dda3be6b5c
[FrontAlgorithms.git] / lib / fpa / VTK / Image / ImageSkeletonToPolyData.h
1 #ifndef __FPA__VTK__IMAGESKELETONTOPOLYDATA__H__
2 #define __FPA__VTK__IMAGESKELETONTOPOLYDATA__H__
3
4 #include <vtkPolyDataAlgorithm.h>
5
6 namespace fpa
7 {
8   namespace VTK
9   {
10     namespace Image
11     {
12       /**
13        */
14       template< class _TSkeleton >
15       class ImageSkeletonToPolyData
16         : public vtkPolyDataAlgorithm
17       {
18       public:
19         typedef ImageSkeletonToPolyData Self;
20         typedef _TSkeleton TSkeleton;
21
22       public:
23         vtkTypeMacro( ImageSkeletonToPolyData, vtkPolyDataAlgorithm );
24
25       public:
26         static Self* New( );
27
28         const TSkeleton* GetInput( ) const;
29         void SetInput( const TSkeleton* sk );
30
31       protected:
32         ImageSkeletonToPolyData( );
33         virtual ~ImageSkeletonToPolyData( );
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         ImageSkeletonToPolyData( const Self& );
49         void operator=( const Self& );
50
51       protected:
52         const TSkeleton* m_Skeleton;
53       };
54
55     } // ecapseman
56
57   } // ecapseman
58
59 } // ecapseman
60
61 #ifndef ITK_MANUAL_INSTANTIATION
62 #include <fpa/VTK/Image/ImageSkeletonToPolyData.hxx>
63 #endif // ITK_MANUAL_INSTANTIATION
64
65 #endif //  __FPA__VTK__IMAGESKELETONTOPOLYDATA__H__
66
67 // eof - $RCSfile$