1 // Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
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.
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.
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
18 // See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
22 // File : SMESH_BasicHypothesis.idl
23 // Author : Paul RASCLE, EDF
26 #ifndef _SMESH_BASICHYPOTHESIS_IDL_
27 #define _SMESH_BASICHYPOTHESIS_IDL_
29 #include "SALOME_Exception.idl"
30 #include "SMESH_Hypothesis.idl"
34 * StdMeshers: interfaces to standard hypotheses and algorithms
39 * StdMeshers_LocalLength: interface of "Average length" hypothesis
41 interface StdMeshers_LocalLength : SMESH::SMESH_Hypothesis
44 * Sets <length> parameter value
46 void SetLength(in double length)
47 raises (SALOME::SALOME_Exception);
50 * Returns <length> parameter value
56 * StdMeshers_NumberOfSegments: interface of "Nb. Segments" hypothesis
58 interface StdMeshers_NumberOfSegments : SMESH::SMESH_Hypothesis
61 * Sets <number of segments> parameter value
63 void SetNumberOfSegments(in long segmentsNumber)
64 raises (SALOME::SALOME_Exception);
67 * Returns <number of segments> parameter value
69 long GetNumberOfSegments();
72 * Sets <scale factor> parameter value
74 void SetScaleFactor(in double scaleFactor)
75 raises (SALOME::SALOME_Exception);
78 * Returns <scale factor> parameter value
80 double GetScaleFactor();
84 * StdMeshers_MaxElementArea: interface of "Max. Triangle Area" hypothesis
86 interface StdMeshers_MaxElementArea : SMESH::SMESH_Hypothesis
89 * Sets <maximum element area> parameter value
91 void SetMaxElementArea(in double area)
92 raises (SALOME::SALOME_Exception);
95 * Returns <maximum element area> parameter value
97 double GetMaxElementArea();
101 * StdMeshers_LengthFromEdges: interface of "Length From Edges (2D Hyp. for Triangulator)" hypothesis
103 interface StdMeshers_LengthFromEdges : SMESH::SMESH_Hypothesis
106 * Sets <mode> parameter value
108 void SetMode(in long mode)
109 raises (SALOME::SALOME_Exception);
112 * Returns <mode> parameter value
118 * StdMeshers_MaxElementVolume: interface of "Max. Hexahedron or Tetrahedron Volume" hypothesis
120 interface StdMeshers_MaxElementVolume : SMESH::SMESH_Hypothesis
123 * Sets <maximum element volume> parameter value
125 void SetMaxElementVolume(in double volume)
126 raises (SALOME::SALOME_Exception);
129 * Returns <maximum element volume> parameter value
131 double GetMaxElementVolume();
135 * StdMeshers_NotConformAllowed: interface of "Not Conform Mesh Allowed" hypothesis.
136 * Presence of this hypothesis permits to algorithm generation of not conform mesh.
138 interface StdMeshers_NotConformAllowed : SMESH::SMESH_Hypothesis
143 * StdMeshers_Regular_1D: interface of "Wire discretisation" algorithm
145 interface StdMeshers_Regular_1D : SMESH::SMESH_1D_Algo
150 * StdMeshers_MEFISTO_2D: interface of "Triangle (Mefisto)" algorithm
152 interface StdMeshers_MEFISTO_2D : SMESH::SMESH_2D_Algo
157 * StdMeshers_Quadrangle_2D: interface of "Quadrangle (Mapping)" algorithm
159 interface StdMeshers_Quadrangle_2D : SMESH::SMESH_2D_Algo
164 * StdMeshers_Hexa_3D: interface of "Hexahedron (i,j,k)" algorithm
166 interface StdMeshers_Hexa_3D : SMESH::SMESH_3D_Algo