]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface/Mesh.h
MAC compilation issues solved... Now some tests please
[cpPlugins.git] / lib / cpPlugins / Interface / Mesh.h
index 92c3c452e378fdd4598d0059855a0a616f4b6ba4..4d1f8fd3494a0146cb1b92398a578d66d373c5ce 100644 (file)
@@ -1,9 +1,11 @@
 #ifndef __CPPLUGINS__INTERFACE__MESH__H__
 #define __CPPLUGINS__INTERFACE__MESH__H__
 
-#include <cpPlugins/Interface/cpPlugins_Interface_Export.h>
 #include <cpPlugins/Interface/DataObject.h>
 
+// Some forward declarations
+class vtkObject;
+
 namespace cpPlugins
 {
   namespace Interface
@@ -22,20 +24,19 @@ namespace cpPlugins
     public:
       itkNewMacro( Self );
       itkTypeMacro( Mesh, DataObject );
-      cpPlugins_Id_Macro(
-        cpPlugins::Interface::Mesh, "DataObject"
-        );
+      cpPlugins_Id_Macro( Mesh, DataObject );
 
     public:
-      template< class M >
-        inline void SetITK( itk::Object* object );
-
-      virtual void SetVTK( vtkObject* mesh );
+      virtual void SetITK( itk::LightObject* o );
+      virtual void SetVTK( vtkObjectBase* o );
 
     protected:
       Mesh( );
       virtual ~Mesh( );
 
+      template< class M >
+        inline void _ITK_2_VTK( itk::LightObject* o );
+
     private:
       // Purposely not implemented
       Mesh( const Self& );