]> SALOME platform Git repositories - plugins/gmshplugin.git/blob - idl/GMSHPlugin_Algorithm.idl
Salome HOME
Merge branch 'V9_2_2_BR'
[plugins/gmshplugin.git] / idl / GMSHPlugin_Algorithm.idl
1 // Copyright (C) 2012-2015  ALNEOS
2 // Copyright (C) 2016-2019  EDF R&D
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.
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 //
20 #ifndef _SMESH_GMSHALGORITHM_IDL_
21 #define _SMESH_GMSHALGORITHM_IDL_
22
23 #include "SALOME_Exception.idl"
24 #include "SMESH_Hypothesis.idl"
25 #include "GEOM_Gen.idl"
26
27 /*!
28  * GMSHPlugin: interfaces to GMSH related hypotheses and algorithms
29  */
30 module GMSHPlugin
31 {
32   typedef sequence<string> string_array;
33
34   /*!
35    * GMSHPlugin_GMSH: interface of "Gmsh" algorithm
36    */
37   interface GMSHPlugin_GMSH : SMESH::SMESH_3D_Algo
38   {
39   };
40
41   /*!
42    * GMSHPlugin_GMSH_2D: interface of "Gmsh_2D" algorithm
43    */
44   interface GMSHPlugin_GMSH_2D : SMESH::SMESH_2D_Algo
45   {
46   };
47   
48   /*!
49    * GMSHPlugin_Hypothesis: interface of "GMSH parameters" hypothesis
50    */
51   interface GMSHPlugin_Hypothesis : SMESH::SMESH_Hypothesis
52   {
53     void Set2DAlgo(in long value);
54     long Get2DAlgo();
55     
56     void Set3DAlgo(in long value);
57     long Get3DAlgo();
58     
59     void SetRecomb2DAlgo(in long value);
60     long GetRecomb2DAlgo();
61     
62     void SetRecombineAll(in boolean value);
63     boolean GetRecombineAll();
64     
65     void SetSubdivAlgo(in long value);
66     long GetSubdivAlgo();
67     
68     void SetRemeshAlgo(in long value);
69     long GetRemeshAlgo();
70     
71     void SetRemeshPara(in long value);
72     long GetRemeshPara();
73     
74     void SetSmouthSteps(in double value);
75     double GetSmouthSteps();
76     
77     void SetSizeFactor(in double value);
78     double GetSizeFactor();
79     
80     void SetMaxSize(in double value);
81     double GetMaxSize();
82
83     void SetMinSize(in double value);
84     double GetMinSize();
85
86     void SetSecondOrder(in boolean value);
87     boolean GetSecondOrder();
88     
89     void SetUseIncomplElem(in boolean value);
90     boolean GetUseIncomplElem();
91     
92     void SetIs2d(in boolean value);
93     
94     void SetCompoundOnShape(in GEOM::GEOM_Object GeomObj);
95     void SetCompoundOnEntry(in string entry);
96     void UnsetCompoundOnShape(in GEOM::GEOM_Object GeomObj);
97     void UnsetCompoundOnEntry(in string entry);
98     string_array GetCompoundOnEntries();
99     
100   };
101
102   /*!
103    * GMSHPlugin_Hypothesis_2D: interface of "GMSH 2D parameters" hypothesis
104    */
105   interface GMSHPlugin_Hypothesis_2D : GMSHPlugin_Hypothesis
106   {
107   };
108
109 };
110
111 #endif