Salome HOME
Initial version
authoreap <eap@opencascade.com>
Thu, 1 Apr 2004 07:15:46 +0000 (07:15 +0000)
committereap <eap@opencascade.com>
Thu, 1 Apr 2004 07:15:46 +0000 (07:15 +0000)
src/GHS3DPlugin_GHS3D.hxx [new file with mode: 0644]

diff --git a/src/GHS3DPlugin_GHS3D.hxx b/src/GHS3DPlugin_GHS3D.hxx
new file mode 100644 (file)
index 0000000..50e7a0f
--- /dev/null
@@ -0,0 +1,39 @@
+//=============================================================================
+// File      : GHS3DPlugin_GHS3D.hxx
+//             Moved here from SMESH_GHS3D_3D.hxx
+// Created   : lundi 27 Janvier 2003
+// Author    : Nadir BOUHAMOU (CEA)
+// Project   : SALOME
+// Copyright : CEA 2003
+// $Header$
+//=============================================================================
+
+#ifndef _GHS3DPlugin_GHS3D_HXX_
+#define _GHS3DPlugin_GHS3D_HXX_
+
+#include "SMESH_3D_Algo.hxx"
+//#include "SMESH_Mesh.hxx"
+
+class SMESH_Mesh;
+
+class GHS3DPlugin_GHS3D: public SMESH_3D_Algo
+{
+public:
+  GHS3DPlugin_GHS3D(int hypId, int studyId, SMESH_Gen* gen);
+  virtual ~GHS3DPlugin_GHS3D();
+
+  virtual bool CheckHypothesis(SMESH_Mesh& aMesh,
+                               const TopoDS_Shape& aShape,
+                               SMESH_Hypothesis::Hypothesis_Status& aStatus);
+
+  virtual bool Compute(SMESH_Mesh& aMesh,
+                      const TopoDS_Shape& aShape);
+
+  ostream & SaveTo(ostream & save);
+  istream & LoadFrom(istream & load);
+  friend ostream & operator << (ostream & save, GHS3DPlugin_GHS3D & hyp);
+  friend istream & operator >> (istream & load, GHS3DPlugin_GHS3D & hyp);
+
+};
+
+#endif