1 // NETGENPlugin : C++ implementation
3 // Copyright (C) 2006 OPEN CASCADE, CEA/DEN, EDF R&D
5 // This library is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU Lesser General Public
7 // License as published by the Free Software Foundation; either
8 // version 2.1 of the License.
10 // This library is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 // Lesser General Public License for more details.
15 // You should have received a copy of the GNU Lesser General Public
16 // License along with this library; if not, write to the Free Software
17 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
22 // File : NETGENPlugin_Mesher.hxx
23 // Author : Michael Sazonov (OCN)
27 //=============================================================================
29 #ifndef _NETGENPlugin_Mesher_HXX_
30 #define _NETGENPlugin_Mesher_HXX_
32 #include "NETGENPlugin_Defs.hxx"
33 #include "StdMeshers_FaceSide.hxx"
38 class NETGENPlugin_Hypothesis;
44 * \brief This class calls the NETGEN mesher of OCC geometry
47 class NETGENPLUGIN_EXPORT NETGENPlugin_Mesher
50 // ---------- PUBLIC METHODS ----------
52 NETGENPlugin_Mesher (SMESH_Mesh* mesh, const TopoDS_Shape& aShape,
55 void SetParameters(const NETGENPlugin_Hypothesis* hyp);
59 static void PrepareOCCgeometry(netgen::OCCGeometry& occgeom,
60 const TopoDS_Shape& shape);
62 static void RemoveTmpFiles();
66 const TopoDS_Shape& _shape;