]> Creatis software - cpPlugins.git/blob - lib/cpPlugins/Interface/Mesh.h
805b8a1d66b76d158b4b84fe5df002cb5bb66693
[cpPlugins.git] / lib / cpPlugins / Interface / Mesh.h
1 #ifndef __CPPLUGINS__INTERFACE__MESH__H__
2 #define __CPPLUGINS__INTERFACE__MESH__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 class vtkMapper;
11
12 namespace cpPlugins
13 {
14   namespace Interface
15   {
16     /**
17      */
18     class cpPlugins_Interface_EXPORT Mesh
19       : public DataObject
20     {
21     public:
22       typedef Mesh       Self;
23       typedef DataObject Superclass;
24
25     public:
26       Mesh( );
27       virtual ~Mesh( );
28
29       virtual std::string GetClassName( ) const;
30       virtual void SetDataObject( itk::DataObject* dobj );
31
32       vtkMapper* GetVTKMapper( ) const;
33
34     protected:
35       template< class M >
36         void _Map( );
37
38     protected:
39       /*
40         itk::ProcessObject::Pointer m_Mesh2VTKMeshData;
41         vtkMeshData* m_VTKMeshData;
42       */
43       vtkMapper* m_Mapper;
44     };
45
46   } // ecapseman
47
48 } // ecapseman
49
50 #endif // __CPPLUGINS__INTERFACE__MESH__H__
51
52 // eof - $RCSfile$