]> SALOME platform Git repositories - plugins/gmshplugin.git/blob - idl/GMSHPlugin_Algorithm.idl
Salome HOME
[bos #38046] [EDF] (2023-T3) Stand alone and Remote versions for GMSH meshers.
[plugins/gmshplugin.git] / idl / GMSHPlugin_Algorithm.idl
1 // Copyright (C) 2012-2015  ALNEOS
2 // Copyright (C) 2016-2023  EDF
3 //
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.
8 //
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.
13 //
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
17 //
18 // See http://www.alneos.com/ or email : contact@alneos.fr
19 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 //
21 #ifndef _SMESH_GMSHALGORITHM_IDL_
22 #define _SMESH_GMSHALGORITHM_IDL_
23
24 #include "SALOME_Exception.idl"
25 #include "SMESH_Hypothesis.idl"
26 #include "GEOM_Gen.idl"
27
28 /*!
29  * GMSHPlugin: interfaces to GMSH related hypotheses and algorithms
30  */
31 module GMSHPlugin
32 {
33   typedef sequence<string> string_array;
34
35   /*!
36    * GMSHPlugin_GMSH: interface of "Gmsh" algorithm
37    */
38   interface GMSHPlugin_GMSH : SMESH::SMESH_3D_Algo
39   {
40   };
41
42    /*!
43    * GMSHPlugin_GMSH_3D: interface of "Gmsh" algorithm
44    */
45   interface GMSHPlugin_GMSH_3D : SMESH::SMESH_3D_Algo
46   {
47   };
48
49   /*!
50    * GMSHPlugin_GMSH: interface of "Gmsh" algorithm
51    */
52   interface GMSHPlugin_GMSH_3D_Remote : GMSHPlugin::GMSHPlugin_GMSH_3D
53   {
54   };
55
56   /*!
57    * GMSHPlugin_GMSH_2D: interface of "Gmsh_2D" algorithm
58    */
59   interface GMSHPlugin_GMSH_2D : SMESH::SMESH_2D_Algo
60   {
61   };
62
63   /*!
64    * GMSHPlugin_Hypothesis: interface of "GMSH parameters" hypothesis
65    */
66   interface GMSHPlugin_Hypothesis : SMESH::SMESH_Hypothesis
67   {
68     void Set2DAlgo(in long value);
69     long Get2DAlgo();
70
71     void Set3DAlgo(in long value);
72     long Get3DAlgo();
73
74     void SetRecomb2DAlgo(in long value);
75     long GetRecomb2DAlgo();
76
77     void SetRecombineAll(in boolean value);
78     boolean GetRecombineAll();
79
80     void SetSubdivAlgo(in long value);
81     long GetSubdivAlgo();
82
83     void SetRemeshAlgo(in long value);
84     long GetRemeshAlgo();
85
86     void SetRemeshPara(in long value);
87     long GetRemeshPara();
88
89     void SetSmouthSteps(in double value);
90     double GetSmouthSteps();
91
92     void SetSizeFactor(in double value);
93     double GetSizeFactor();
94
95     void SetMeshCurvatureSize(in double value);
96     double GetMeshCurvatureSize();
97
98     void SetMaxSize(in double value);
99     double GetMaxSize();
100
101     void SetMinSize(in double value);
102     double GetMinSize();
103
104     void SetSecondOrder(in boolean value);
105     boolean GetSecondOrder();
106
107     void SetUseIncomplElem(in boolean value);
108     boolean GetUseIncomplElem();
109
110     void SetIs2d(in boolean value);
111
112     void SetVerbosityLevel(in long value);
113     long GetVerbosityLevel();
114
115     void SetCompoundOnShape(in GEOM::GEOM_Object GeomObj);
116     void SetCompoundOnEntry(in string entry);
117     void UnsetCompoundOnShape(in GEOM::GEOM_Object GeomObj);
118     void UnsetCompoundOnEntry(in string entry);
119     string_array GetCompoundOnEntries();
120
121   };
122
123   /*!
124    * GMSHPlugin_Hypothesis_2D: interface of "GMSH 2D parameters" hypothesis
125    */
126   interface GMSHPlugin_Hypothesis_2D : GMSHPlugin_Hypothesis
127   {
128   };
129
130 };
131
132 #endif