Salome HOME
31a9f90ea078826705a38da77e910e450a359765
[plugins/hexoticplugin.git] / idl / HexoticPlugin_Algorithm.idl
1 // Copyright (C) 2007-2012  CEA/DEN, EDF R&D
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.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19
20 // ---
21 // File   : HexoticPlugin_Algorithm.idl
22 // Author : Lioka RAZAFINDRAZAKA (CEA)
23 // ---
24 //
25 #ifndef _SMESH_HexoticALGORITHM_IDL_
26 #define _SMESH_HexoticALGORITHM_IDL_
27
28 #include "SMESH_Hypothesis.idl"
29
30 /*!
31  * HexoticPlugin: interfaces to Hexotic related hypotheses and algorithms
32  */
33 module HexoticPlugin
34 {    
35   /*!
36    * HexoticPlugin_Hexotic: interface of Hexotic algorithm
37    */
38   interface HexoticPlugin_Hexotic : SMESH::SMESH_3D_Algo
39   {
40   };
41
42   /*!
43    * HexoticPlugin_Hypothesis: interface of "Hexotic parameters" hypothesis
44    */
45   interface HexoticPlugin_Hypothesis : SMESH::SMESH_Hypothesis
46   {
47     void SetHexesMinLevel(in long value);
48     long GetHexesMinLevel();
49
50     void SetHexesMaxLevel(in long value);
51     long GetHexesMaxLevel();
52     
53     void SetMinSize(in double value);
54     double GetMinSize();
55
56     void SetMaxSize(in double value);
57     double GetMaxSize();
58
59     void SetHexoticIgnoreRidges(in boolean value);
60     boolean GetHexoticIgnoreRidges();
61
62     void SetHexoticInvalidElements(in boolean value);
63     boolean GetHexoticInvalidElements();
64    
65     void SetHexoticSharpAngleThreshold(in double value);
66     double GetHexoticSharpAngleThreshold();
67    
68     void SetHexoticNbProc(in long value);
69     long GetHexoticNbProc();
70
71     void SetHexoticWorkingDirectory(in string path) raises (SALOME::SALOME_Exception);
72     string GetHexoticWorkingDirectory();
73    
74     void SetHexoticSdMode(in long value);
75     long GetHexoticSdMode();
76    
77     void SetHexoticVerbosity(in long value);
78     long GetHexoticVerbosity();
79
80     void SetHexoticMaxMemory(in long value);
81     long GetHexoticMaxMemory();
82   };
83 };
84
85 #endif