From 2d5ab14e6dbc71f2391f53afa3899caa6cd25d22 Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 1 Apr 2004 07:15:46 +0000 Subject: [PATCH] Initial version --- src/GHS3DPlugin_GHS3D.hxx | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 src/GHS3DPlugin_GHS3D.hxx diff --git a/src/GHS3DPlugin_GHS3D.hxx b/src/GHS3DPlugin_GHS3D.hxx new file mode 100644 index 0000000..50e7a0f --- /dev/null +++ b/src/GHS3DPlugin_GHS3D.hxx @@ -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 -- 2.39.2