1 // Copyright (C) 2012-2015 ALNEOS
2 // Copyright (C) 2016-2023 EDF
4 // This library is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU Lesser General Public
6 // License as published by the Free Software Foundation; either
7 // version 2.1 of the License, or (at your option) any later version.
9 // This library is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 // Lesser General Public License for more details.
14 // You should have received a copy of the GNU Lesser General Public
15 // License along with this library; if not, write to the Free Software
16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 // See http://www.alneos.com/ or email : contact@alneos.fr
19 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 #ifndef _SMESH_GMSHALGORITHM_IDL_
22 #define _SMESH_GMSHALGORITHM_IDL_
24 #include "SALOME_Exception.idl"
25 #include "SMESH_Hypothesis.idl"
26 #include "GEOM_Gen.idl"
29 * GMSHPlugin: interfaces to GMSH related hypotheses and algorithms
33 typedef sequence<string> string_array;
36 * GMSHPlugin_GMSH: interface of "Gmsh" algorithm
38 interface GMSHPlugin_GMSH : SMESH::SMESH_3D_Algo
43 * GMSHPlugin_GMSH_3D: interface of "Gmsh" algorithm
45 interface GMSHPlugin_GMSH_3D : SMESH::SMESH_3D_Algo
50 * GMSHPlugin_GMSH_2D: interface of "Gmsh_2D" algorithm
52 interface GMSHPlugin_GMSH_2D : SMESH::SMESH_2D_Algo
57 * GMSHPlugin_Hypothesis: interface of "GMSH parameters" hypothesis
59 interface GMSHPlugin_Hypothesis : SMESH::SMESH_Hypothesis
61 void Set2DAlgo(in long value);
64 void Set3DAlgo(in long value);
67 void SetRecomb2DAlgo(in long value);
68 long GetRecomb2DAlgo();
70 void SetRecombineAll(in boolean value);
71 boolean GetRecombineAll();
73 void SetSubdivAlgo(in long value);
76 void SetRemeshAlgo(in long value);
79 void SetRemeshPara(in long value);
82 void SetSmouthSteps(in double value);
83 double GetSmouthSteps();
85 void SetSizeFactor(in double value);
86 double GetSizeFactor();
88 void SetMeshCurvatureSize(in double value);
89 double GetMeshCurvatureSize();
91 void SetMaxSize(in double value);
94 void SetMinSize(in double value);
97 void SetSecondOrder(in boolean value);
98 boolean GetSecondOrder();
100 void SetUseIncomplElem(in boolean value);
101 boolean GetUseIncomplElem();
103 void SetIs2d(in boolean value);
105 void SetVerbosityLevel(in long value);
106 long GetVerbosityLevel();
108 void SetCompoundOnShape(in GEOM::GEOM_Object GeomObj);
109 void SetCompoundOnEntry(in string entry);
110 void UnsetCompoundOnShape(in GEOM::GEOM_Object GeomObj);
111 void UnsetCompoundOnEntry(in string entry);
112 string_array GetCompoundOnEntries();
117 * GMSHPlugin_Hypothesis_2D: interface of "GMSH 2D parameters" hypothesis
119 interface GMSHPlugin_Hypothesis_2D : GMSHPlugin_Hypothesis