1 // Copyright (C) 2012-2013 ALNEOS
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License.
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // Lesser General Public License for more details.
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 // See http://www.alneos.com/ or email : contact@alneos.fr
19 #ifndef _SMESH_GMSHALGORITHM_IDL_
20 #define _SMESH_GMSHALGORITHM_IDL_
22 #include "SALOME_Exception.idl"
23 #include "SMESH_Hypothesis.idl"
24 #include "GEOM_Gen.idl"
27 * GMSHPlugin: interfaces to GMSH related hypotheses and algorithms
31 typedef sequence<string> string_array;
34 * GMSHPlugin_GMSH: interface of "Gmsh" algorithm
36 interface GMSHPlugin_GMSH : SMESH::SMESH_3D_Algo
41 * GMSHPlugin_GMSH_2D: interface of "Gmsh_2D" algorithm
43 interface GMSHPlugin_GMSH_2D : SMESH::SMESH_2D_Algo
48 * GMSHPlugin_Hypothesis: interface of "GMSH parameters" hypothesis
50 interface GMSHPlugin_Hypothesis : SMESH::SMESH_Hypothesis
52 void Set2DAlgo(in long value);
55 void Set3DAlgo(in long value);
58 void SetRecomb2DAlgo(in long value);
59 long GetRecomb2DAlgo();
61 void SetRecombineAll(in boolean value);
62 boolean GetRecombineAll();
64 void SetSubdivAlgo(in long value);
67 void SetRemeshAlgo(in long value);
70 void SetRemeshPara(in long value);
73 void SetSmouthSteps(in double value);
74 double GetSmouthSteps();
76 void SetSizeFactor(in double value);
77 double GetSizeFactor();
79 void SetMaxSize(in double value);
82 void SetMinSize(in double value);
85 void SetSecondOrder(in boolean value);
86 boolean GetSecondOrder();
88 void SetUseIncomplElem(in boolean value);
89 boolean GetUseIncomplElem();
91 void SetIs2d(in boolean value);
93 void SetCompoundOnShape(in GEOM::GEOM_Object GeomObj);
94 void SetCompoundOnEntry(in string entry);
95 void UnsetCompoundOnShape(in GEOM::GEOM_Object GeomObj);
96 void UnsetCompoundOnEntry(in string entry);
97 string_array GetCompoundOnEntries();
102 * GMSHPlugin_Hypothesis_2D: interface of "GMSH 2D parameters" hypothesis
104 interface GMSHPlugin_Hypothesis_2D : GMSHPlugin_Hypothesis