idl/SMESH_BasicHypothesis.idl

Go to the documentation of this file.
00001 //  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
00002 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
00003 // 
00004 //  This library is free software; you can redistribute it and/or 
00005 //  modify it under the terms of the GNU Lesser General Public 
00006 //  License as published by the Free Software Foundation; either 
00007 //  version 2.1 of the License. 
00008 // 
00009 //  This library is distributed in the hope that it will be useful, 
00010 //  but WITHOUT ANY WARRANTY; without even the implied warranty of 
00011 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
00012 //  Lesser General Public License for more details. 
00013 // 
00014 //  You should have received a copy of the GNU Lesser General Public 
00015 //  License along with this library; if not, write to the Free Software 
00016 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
00017 // 
00018 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00019 //
00020 //
00021 //
00022 //  File   : SMESH_BasicHypothesis.idl
00023 //  Author : Paul RASCLE, EDF
00024 
00025 #ifndef _SMESH_BASICHYPOTHESIS_IDL_
00026 #define _SMESH_BASICHYPOTHESIS_IDL_
00027 
00028 #include "SALOME_Exception.idl"
00029 #include "SMESH_Hypothesis.idl"
00030 #include "SMESH_Mesh.idl"
00031 
00032 
00036 module StdMeshers
00037 {
00041   interface StdMeshers_LocalLength : SMESH::SMESH_Hypothesis
00042   {
00046     void SetLength(in double length) 
00047       raises (SALOME::SALOME_Exception);
00048 
00052     double GetLength();
00053   };
00054 
00058   interface StdMeshers_AutomaticLength : SMESH::SMESH_Hypothesis
00059   {
00063     void SetFineness(in double theFineness)
00064       raises (SALOME::SALOME_Exception);
00065 
00069     double GetFineness();
00070   };
00071 
00075   interface StdMeshers_NumberOfSegments : SMESH::SMESH_Hypothesis
00076   {
00080     SMESH::double_array BuildDistributionExpr( in string func, in long nbSeg, in long conv )
00081       raises (SALOME::SALOME_Exception);
00082     SMESH::double_array BuildDistributionTab( in SMESH::double_array func, in long nbSeg, in long conv )
00083       raises (SALOME::SALOME_Exception);
00084   
00088     void SetNumberOfSegments(in long segmentsNumber) 
00089       raises (SALOME::SALOME_Exception);
00090 
00094     long GetNumberOfSegments();
00095 
00099     void SetDistrType(in long typ)
00100       raises (SALOME::SALOME_Exception);
00101 
00105     long GetDistrType();
00106 
00110     void SetScaleFactor(in double scaleFactor)
00111       raises (SALOME::SALOME_Exception);
00112 
00116     double GetScaleFactor()
00117       raises (SALOME::SALOME_Exception);
00118 
00122     void SetTableFunction(in SMESH::double_array table)
00123       raises (SALOME::SALOME_Exception);
00124 
00128     SMESH::double_array GetTableFunction()
00129       raises (SALOME::SALOME_Exception);
00130 
00134     void SetExpressionFunction(in string expr)
00135       raises (SALOME::SALOME_Exception);
00136 
00140     string GetExpressionFunction()
00141       raises (SALOME::SALOME_Exception);
00142 
00146     void SetConversionMode(in long conv )
00147       raises (SALOME::SALOME_Exception);
00148 
00152     long ConversionMode()
00153       raises (SALOME::SALOME_Exception);
00154   };
00155 
00159   interface StdMeshers_Arithmetic1D : SMESH::SMESH_Hypothesis
00160   {
00164     void SetLength(in double length, in boolean isStartLength) 
00165       raises (SALOME::SALOME_Exception);
00166 
00170     double GetLength(in boolean isStartLength);
00171   };
00172 
00176   interface StdMeshers_MaxElementArea : SMESH::SMESH_Hypothesis
00177   {
00181     void SetMaxElementArea(in double area) 
00182       raises (SALOME::SALOME_Exception);
00183 
00187     double GetMaxElementArea();
00188   };
00189 
00193   interface StdMeshers_LengthFromEdges : SMESH::SMESH_Hypothesis
00194   {
00198     void SetMode(in long mode) 
00199       raises (SALOME::SALOME_Exception);
00200 
00204     long GetMode();
00205   };
00206 
00210   interface StdMeshers_StartEndLength : SMESH::SMESH_Hypothesis
00211   {
00215     void SetLength(in double length, in boolean isStartLength) 
00216       raises (SALOME::SALOME_Exception);
00217 
00221     double GetLength(in boolean isStartLength);
00222   };
00223 
00224 
00228   interface StdMeshers_Deflection1D : SMESH::SMESH_Hypothesis
00229   {
00233     void SetDeflection(in double deflection)
00234       raises (SALOME::SALOME_Exception);
00235 
00239     double GetDeflection();
00240   };
00241 
00242 
00246   interface StdMeshers_MaxElementVolume : SMESH::SMESH_Hypothesis
00247   {
00251     void SetMaxElementVolume(in double volume) 
00252       raises (SALOME::SALOME_Exception);
00253 
00257     double GetMaxElementVolume();
00258   };
00259 
00264   interface StdMeshers_NotConformAllowed : SMESH::SMESH_Hypothesis
00265   {
00266   };
00267 
00274   interface StdMeshers_Propagation : SMESH::SMESH_Hypothesis
00275   {
00276   };
00277 
00285   interface StdMeshers_QuadranglePreference : SMESH::SMESH_Hypothesis
00286   {
00287   };
00288 
00299   interface StdMeshers_QuadraticMesh : SMESH::SMESH_Hypothesis
00300   {
00301   };
00302 
00303 
00307   interface StdMeshers_Regular_1D : SMESH::SMESH_1D_Algo
00308   {
00309   };
00310 
00314   interface StdMeshers_MEFISTO_2D : SMESH::SMESH_2D_Algo
00315   {
00316   };
00317 
00321   interface StdMeshers_Quadrangle_2D : SMESH::SMESH_2D_Algo
00322   {
00323   };
00324 
00328   interface StdMeshers_Hexa_3D : SMESH::SMESH_3D_Algo
00329   {
00330   };
00331 
00332 };
00333 
00334 #endif