--- /dev/null
+// Copyright (C) 2012-2015 ALNEOS
+// Copyright (C) 2016-2023 EDF
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// See http://www.alneos.com/ or email : contact@alneos.fr
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+#ifndef _GMSHPlugin_GMSH_3D_SA_HXX_
+#define _GMSHPlugin_GMSH_3D_SA_HXX_
+
+#include "GMSHPlugin_Defs.hxx"
+#include "GMSHPlugin_GMSH_3D.hxx"
+
+#include <SMESH_DriverShape.hxx>
+#include <SMESH_DriverMesh.hxx>
+
+#include "SMESH_Algo.hxx"
+#include "SMESH_subMesh.hxx"
+#include "SMESH_Mesh.hxx"
+
+class GMSHPLUGIN_EXPORT GMSHPlugin_GMSH_3D_SA: public GMSHPlugin_GMSH_3D
+{
+public:
+ GMSHPlugin_GMSH_3D_SA();
+ virtual ~GMSHPlugin_GMSH_3D_SA();
+
+ int run(const std::string input_mesh_file,
+ const std::string shape_file,
+ const std::string hypo_file,
+ const std::string element_orientation_file,
+ const std::string new_element_file,
+ const std::string output_mesh_file);
+
+ bool Compute( TopoDS_Shape &aShape, SMESH_Mesh& aMesh, std::string new_element_file, std::string element_orientation_file, bool output_mesh );
+
+private:
+
+ void fillNewElementFile( std::vector< const SMDS_MeshNode* > &nodeVec, GMSHPlugin_Mesher &mesher, std::string new_element_file );
+ void importGMSHParameters( const std::string hypo_file );
+ void fillListOfElementsOriented(SMESH_Mesh& aMesh, std::string element_orientation_file,
+ std::map<const SMDS_MeshElement*, bool, TIDCompare>& listElements );
+};
+
+#endif