]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface/Mesh.h
...
[cpPlugins.git] / lib / cpPlugins / Interface / Mesh.h
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..10752baeb0be3d171b5495957173da3715d644b8 100644 (file)
@@ -0,0 +1,53 @@
+#ifndef __CPPLUGINS__INTERFACE__MESH__H__
+#define __CPPLUGINS__INTERFACE__MESH__H__
+
+#include <cpPlugins/Interface/DataObject.h>
+
+// Some forward declarations
+class vtkObject;
+
+namespace cpPlugins
+{
+  namespace Interface
+  {
+    /**
+     */
+    class cpPlugins_Interface_EXPORT Mesh
+      : public DataObject
+    {
+    public:
+      typedef Mesh                            Self;
+      typedef DataObject                      Superclass;
+      typedef itk::SmartPointer< Self >       Pointer;
+      typedef itk::SmartPointer< const Self > ConstPointer;
+
+    public:
+      itkNewMacro( Self );
+      itkTypeMacro( Mesh, DataObject );
+      cpPlugins_Id_Macro( Mesh, DataObject );
+
+    public:
+      template< class M >
+        inline void SetITK( itk::Object* object );
+
+      virtual void SetVTK( vtkObject* mesh );
+
+    protected:
+      Mesh( );
+      virtual ~Mesh( );
+
+    private:
+      // Purposely not implemented
+      Mesh( const Self& );
+      Self& operator=( const Self& );
+    };
+
+  } // ecapseman
+
+} // ecapseman
+
+#include <cpPlugins/Interface/Mesh.hxx>
+
+#endif // __CPPLUGINS__INTERFACE__MESH__H__
+
+// eof - $RCSfile$