1 //=============================================================================
2 // File : GHS3DPlugin_GHS3D.hxx
3 // Moved here from SMESH_GHS3D_3D.hxx
4 // Created : lundi 27 Janvier 2003
5 // Author : Nadir BOUHAMOU (CEA)
7 // Copyright : CEA 2003
9 //=============================================================================
11 #ifndef _GHS3DPlugin_GHS3D_HXX_
12 #define _GHS3DPlugin_GHS3D_HXX_
14 #include "SMESH_3D_Algo.hxx"
15 //#include "SMESH_Mesh.hxx"
19 class GHS3DPlugin_GHS3D: public SMESH_3D_Algo
22 GHS3DPlugin_GHS3D(int hypId, int studyId, SMESH_Gen* gen);
23 virtual ~GHS3DPlugin_GHS3D();
25 virtual bool CheckHypothesis(SMESH_Mesh& aMesh,
26 const TopoDS_Shape& aShape,
27 SMESH_Hypothesis::Hypothesis_Status& aStatus);
29 virtual bool Compute(SMESH_Mesh& aMesh,
30 const TopoDS_Shape& aShape);
32 ostream & SaveTo(ostream & save);
33 istream & LoadFrom(istream & load);
34 friend ostream & operator << (ostream & save, GHS3DPlugin_GHS3D & hyp);
35 friend istream & operator >> (istream & load, GHS3DPlugin_GHS3D & hyp);