1 // Copyright (C) 2007-2016 CEA/DEN, EDF R&D
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, or (at your option) any later version.
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.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 // File : HexoticPlugin_Algorithm.idl
22 // Author : Lioka RAZAFINDRAZAKA (CEA)
25 #ifndef _SMESH_HexoticALGORITHM_IDL_
26 #define _SMESH_HexoticALGORITHM_IDL_
28 #include "SMESH_Hypothesis.idl"
29 #include "SMESH_Mesh.idl"
30 #include "GEOM_Gen.idl"
33 * HexoticPlugin: interfaces to Hexotic related hypotheses and algorithms
38 * Type definitions for the size maps
40 struct HexoticPluginSizeMap {
45 typedef sequence<HexoticPluginSizeMap> HexoticPluginSizeMapsList;
48 * HexoticPlugin_Hexotic: interface of Hexotic algorithm
50 interface HexoticPlugin_Hexotic : SMESH::SMESH_3D_Algo
55 * HexoticPlugin_Hypothesis: interface of "Hexotic parameters" hypothesis
57 interface HexoticPlugin_Hypothesis : SMESH::SMESH_Hypothesis
59 void SetHexesMinLevel(in long value);
60 long GetHexesMinLevel();
62 void SetHexesMaxLevel(in long value);
63 long GetHexesMaxLevel();
65 void SetMinSize(in double value);
68 void SetMaxSize(in double value);
71 void SetHexoticIgnoreRidges(in boolean value);
72 boolean GetHexoticIgnoreRidges();
74 void SetHexoticInvalidElements(in boolean value);
75 boolean GetHexoticInvalidElements();
77 void SetHexoticSharpAngleThreshold(in double value);
78 double GetHexoticSharpAngleThreshold();
80 void SetHexoticNbProc(in long value);
81 long GetHexoticNbProc();
83 void SetHexoticWorkingDirectory(in string path) raises (SALOME::SALOME_Exception);
84 string GetHexoticWorkingDirectory();
86 void SetHexoticSdMode(in long value);
87 long GetHexoticSdMode();
89 void SetHexoticVerbosity(in long value);
90 long GetHexoticVerbosity();
92 void SetHexoticMaxMemory(in long value);
93 long GetHexoticMaxMemory();
95 void SetAdvancedOption(in string option);
96 string GetAdvancedOption();
97 void SetTextOptions(in string option);// obsolete
98 string GetTextOptions();
100 void SetSizeMapEntry(in string entry,
102 void UnsetSizeMapEntry(in string entry);
104 void SetSizeMap(in GEOM::GEOM_Object GeomObj,
106 void UnsetSizeMap(in GEOM::GEOM_Object GeomObj);
108 HexoticPluginSizeMapsList GetSizeMaps();
110 void SetNbLayers(in long theVal);
113 void SetFirstLayerSize(in double theVal);
114 double GetFirstLayerSize();
116 void SetDirection(in boolean theVal);
117 boolean GetDirection();
119 void SetGrowth(in double theVal);
122 void SetFacesWithLayers(in SMESH::long_array theVal);
123 SMESH::long_array GetFacesWithLayers();
125 void SetImprintedFaces(in SMESH::long_array theVal);
126 SMESH::long_array GetImprintedFaces();