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