]> Creatis software - cpPlugins.git/blob - lib/cpPlugins/Interface/PolyLineParametricPath.h
0c3268b877a9a35afee52db7de2f7fbffae1de0e
[cpPlugins.git] / lib / cpPlugins / Interface / PolyLineParametricPath.h
1 #ifndef __CPPLUGINS__INTERFACE__POLYLINEPARAMETRICPATH__H__
2 #define __CPPLUGINS__INTERFACE__POLYLINEPARAMETRICPATH__H__
3
4 #include <map>
5 #include <string>
6 #include <itkProcessObject.h>
7 #include <cpPlugins/Interface/cpPlugins_Interface_Export.h>
8 #include <cpPlugins/Interface/DataObject.h>
9
10 #include <vtkPolyData.h>
11 #include <vtkSmartPointer.h>
12
13 namespace cpPlugins
14 {
15   namespace Interface
16   {
17     /**
18      */
19     class cpPlugins_Interface_EXPORT PolyLineParametricPath
20       : public DataObject
21     {
22     public:
23       typedef PolyLineParametricPath          Self;
24       typedef DataObject                      Superclass;
25       typedef itk::SmartPointer< Self >       Pointer;
26       typedef itk::SmartPointer< const Self > ConstPointer;
27
28     public:
29       itkNewMacro( Self );
30       itkTypeMacro( PolyLineParametricPath, DataObject );
31
32     public:
33       virtual std::string GetClassName( ) const;
34       virtual void SetRealDataObject(
35         itk::DataObject* dobj,
36         itk::DataObject* ref_image = NULL
37         );
38
39     protected:
40       PolyLineParametricPath( );
41       virtual ~PolyLineParametricPath( );
42
43       template< unsigned int D >
44         void _VTK( itk::DataObject* ref_image );
45
46     private:
47       // Purposely not implemented
48       PolyLineParametricPath( const Self& );
49       Self& operator=( const Self& );
50
51     protected:
52       vtkSmartPointer< vtkPolyData > m_PolyData;
53     };
54
55   } // ecapseman
56
57 } // ecapseman
58
59 #endif // __CPPLUGINS__INTERFACE__POLYLINEPARAMETRICPATH__H__
60
61 // eof - $RCSfile$