]> Creatis software - cpPlugins.git/blob - lib/cpPlugins/Interface/Mesh.h
...
[cpPlugins.git] / lib / cpPlugins / Interface / Mesh.h
1 #ifndef __CPPLUGINS__INTERFACE__MESH__H__
2 #define __CPPLUGINS__INTERFACE__MESH__H__
3
4 #include <cpPlugins/Interface/DataObject.h>
5
6 // Some forward declarations
7 class vtkObject;
8
9 namespace cpPlugins
10 {
11   namespace Interface
12   {
13     /**
14      */
15     class cpPlugins_Interface_EXPORT Mesh
16       : public DataObject
17     {
18     public:
19       typedef Mesh                            Self;
20       typedef DataObject                      Superclass;
21       typedef itk::SmartPointer< Self >       Pointer;
22       typedef itk::SmartPointer< const Self > ConstPointer;
23
24     public:
25       itkNewMacro( Self );
26       itkTypeMacro( Mesh, DataObject );
27       cpPlugins_Id_Macro( Mesh, DataObject );
28
29     public:
30       virtual void SetITK( itk::LightObject* o );
31       virtual void SetVTK( vtkObjectBase* o );
32
33     protected:
34       Mesh( );
35       virtual ~Mesh( );
36
37       template< class M >
38         inline void _ITK_2_VTK( itk::LightObject* o );
39
40     private:
41       // Purposely not implemented
42       Mesh( const Self& );
43       Self& operator=( const Self& );
44     };
45
46   } // ecapseman
47
48 } // ecapseman
49
50 #include <cpPlugins/Interface/Mesh.hxx>
51
52 #endif // __CPPLUGINS__INTERFACE__MESH__H__
53
54 // eof - $RCSfile$