]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface/Mesh.h
(QuadEdge)Mesh support added.
[cpPlugins.git] / lib / cpPlugins / Interface / Mesh.h
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..805b8a1d66b76d158b4b84fe5df002cb5bb66693 100644 (file)
@@ -0,0 +1,52 @@
+#ifndef __CPPLUGINS__INTERFACE__MESH__H__
+#define __CPPLUGINS__INTERFACE__MESH__H__
+
+#include <map>
+#include <string>
+#include <itkProcessObject.h>
+#include <cpPlugins/Interface/cpPlugins_Interface_Export.h>
+#include <cpPlugins/Interface/DataObject.h>
+
+class vtkMapper;
+
+namespace cpPlugins
+{
+  namespace Interface
+  {
+    /**
+     */
+    class cpPlugins_Interface_EXPORT Mesh
+      : public DataObject
+    {
+    public:
+      typedef Mesh       Self;
+      typedef DataObject Superclass;
+
+    public:
+      Mesh( );
+      virtual ~Mesh( );
+
+      virtual std::string GetClassName( ) const;
+      virtual void SetDataObject( itk::DataObject* dobj );
+
+      vtkMapper* GetVTKMapper( ) const;
+
+    protected:
+      template< class M >
+        void _Map( );
+
+    protected:
+      /*
+        itk::ProcessObject::Pointer m_Mesh2VTKMeshData;
+        vtkMeshData* m_VTKMeshData;
+      */
+      vtkMapper* m_Mapper;
+    };
+
+  } // ecapseman
+
+} // ecapseman
+
+#endif // __CPPLUGINS__INTERFACE__MESH__H__
+
+// eof - $RCSfile$