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