Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifndef _SMESH_BASICHYPOTHESIS_IDL_
00027 #define _SMESH_BASICHYPOTHESIS_IDL_
00028
00029 #include "SALOME_Exception.idl"
00030 #include "SMESH_Hypothesis.idl"
00031 #include "SMESH_Mesh.idl"
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
00061 void SetPrecision(in double precision)
00062 raises (SALOME::SALOME_Exception);
00063
00067 double GetLength();
00068
00072 double GetPrecision();
00073 };
00074
00078 interface StdMeshers_MaxLength : SMESH::SMESH_Hypothesis
00079 {
00083 void SetLength(in double length)
00084 raises (SALOME::SALOME_Exception);
00088 double GetLength();
00092 boolean HavePreestimatedLength();
00096 double GetPreestimatedLength();
00100 void SetPreestimatedLength(in double length);
00105 void SetUsePreestimatedLength(in boolean toUse);
00110 boolean GetUsePreestimatedLength();
00111 };
00112
00116 interface StdMeshers_AutomaticLength : SMESH::SMESH_Hypothesis
00117 {
00121 void SetFineness(in double theFineness)
00122 raises (SALOME::SALOME_Exception);
00123
00127 double GetFineness();
00128 };
00129
00133 interface StdMeshers_NumberOfSegments : SMESH::SMESH_Hypothesis
00134 {
00138 SMESH::double_array BuildDistributionExpr( in string func, in long nbSeg, in long conv )
00139 raises (SALOME::SALOME_Exception);
00140 SMESH::double_array BuildDistributionTab( in SMESH::double_array func, in long nbSeg, in long conv )
00141 raises (SALOME::SALOME_Exception);
00142
00146 void SetNumberOfSegments(in long segmentsNumber)
00147 raises (SALOME::SALOME_Exception);
00148
00152 long GetNumberOfSegments();
00153
00157 void SetDistrType(in long typ)
00158 raises (SALOME::SALOME_Exception);
00159
00163 long GetDistrType();
00164
00168 void SetScaleFactor(in double scaleFactor)
00169 raises (SALOME::SALOME_Exception);
00170
00174 double GetScaleFactor()
00175 raises (SALOME::SALOME_Exception);
00176
00180 void SetTableFunction(in SMESH::double_array table)
00181 raises (SALOME::SALOME_Exception);
00182
00186 SMESH::double_array GetTableFunction()
00187 raises (SALOME::SALOME_Exception);
00188
00192 void SetExpressionFunction(in string expr)
00193 raises (SALOME::SALOME_Exception);
00194
00198 string GetExpressionFunction()
00199 raises (SALOME::SALOME_Exception);
00200
00204 void SetConversionMode(in long conv )
00205 raises (SALOME::SALOME_Exception);
00206
00210 long ConversionMode()
00211 raises (SALOME::SALOME_Exception);
00212
00216 void SetReversedEdges( in SMESH::long_array list );
00217
00221 SMESH::long_array GetReversedEdges();
00222
00226 void SetObjectEntry( in string entry );
00227
00231 string GetObjectEntry();
00232 };
00233
00237 interface StdMeshers_Arithmetic1D : SMESH::SMESH_Hypothesis
00238 {
00244 void SetLength(in double length, in boolean isStartLength)
00245 raises (SALOME::SALOME_Exception);
00246
00250 void SetStartLength(in double length)
00251 raises (SALOME::SALOME_Exception);
00252
00256 void SetEndLength(in double length)
00257 raises (SALOME::SALOME_Exception);
00258
00262 double GetLength(in boolean isStartLength);
00263
00267 void SetReversedEdges( in SMESH::long_array list );
00268
00272 SMESH::long_array GetReversedEdges();
00273
00277 void SetObjectEntry( in string entry );
00278
00282 string GetObjectEntry();
00283 };
00284
00288 interface StdMeshers_MaxElementArea : SMESH::SMESH_Hypothesis
00289 {
00293 void SetMaxElementArea(in double area)
00294 raises (SALOME::SALOME_Exception);
00295
00299 double GetMaxElementArea();
00300 };
00301
00305 interface StdMeshers_LengthFromEdges : SMESH::SMESH_Hypothesis
00306 {
00310 void SetMode(in long mode)
00311 raises (SALOME::SALOME_Exception);
00312
00316 long GetMode();
00317 };
00318
00322 interface StdMeshers_StartEndLength : SMESH::SMESH_Hypothesis
00323 {
00329 void SetLength(in double length, in boolean isStartLength)
00330 raises (SALOME::SALOME_Exception);
00331
00335 void SetStartLength(in double length)
00336 raises (SALOME::SALOME_Exception);
00337
00341 void SetEndLength(in double length)
00342 raises (SALOME::SALOME_Exception);
00343
00347 double GetLength(in boolean isStartLength);
00348
00352 void SetReversedEdges( in SMESH::long_array list );
00353
00357 SMESH::long_array GetReversedEdges();
00358
00362 void SetObjectEntry( in string entry );
00363
00367 string GetObjectEntry();
00368 };
00369
00370
00374 interface StdMeshers_Deflection1D : SMESH::SMESH_Hypothesis
00375 {
00379 void SetDeflection(in double deflection)
00380 raises (SALOME::SALOME_Exception);
00381
00385 double GetDeflection();
00386 };
00387
00388
00392 interface StdMeshers_FixedPoints1D : SMESH::SMESH_Hypothesis
00393 {
00400 void SetPoints(in SMESH::double_array listParams)
00401 raises (SALOME::SALOME_Exception);
00402 void SetNbSegments(in SMESH::long_array listNbSeg)
00403 raises (SALOME::SALOME_Exception);
00404
00408 SMESH::double_array GetPoints();
00409
00413 SMESH::long_array GetNbSegments();
00414
00418 void SetReversedEdges( in SMESH::long_array list );
00419
00423 SMESH::long_array GetReversedEdges();
00424
00428 void SetObjectEntry( in string entry );
00429
00433 string GetObjectEntry();
00434 };
00435
00436
00440 interface StdMeshers_MaxElementVolume : SMESH::SMESH_Hypothesis
00441 {
00445 void SetMaxElementVolume(in double volume)
00446 raises (SALOME::SALOME_Exception);
00447
00451 double GetMaxElementVolume();
00452 };
00453
00458 interface StdMeshers_NotConformAllowed : SMESH::SMESH_Hypothesis
00459 {
00460 };
00461
00468 interface StdMeshers_Propagation : SMESH::SMESH_Hypothesis
00469 {
00470 };
00471
00479 interface StdMeshers_QuadranglePreference : SMESH::SMESH_Hypothesis
00480 {
00481 };
00482
00489 interface StdMeshers_TrianglePreference : SMESH::SMESH_Hypothesis
00490 {
00491 };
00492
00503 interface StdMeshers_QuadraticMesh : SMESH::SMESH_Hypothesis
00504 {
00505 };
00506
00507
00514 interface StdMeshers_NumberOfLayers : SMESH::SMESH_Hypothesis
00515 {
00519 void SetNumberOfLayers(in long numberOfLayers)
00520 raises (SALOME::SALOME_Exception);
00521
00525 long GetNumberOfLayers();
00526
00527 };
00528
00535 interface StdMeshers_LayerDistribution : SMESH::SMESH_Hypothesis
00536 {
00540 void SetLayerDistribution(in SMESH::SMESH_Hypothesis distributionHyp)
00541 raises (SALOME::SALOME_Exception);
00542
00546 SMESH::SMESH_Hypothesis GetLayerDistribution();
00547
00548 };
00549
00556 interface StdMeshers_NumberOfLayers2D : StdMeshers_NumberOfLayers
00557 {
00558 };
00559
00566 interface StdMeshers_LayerDistribution2D : StdMeshers_LayerDistribution
00567 {
00568 };
00569
00576 interface StdMeshers_ProjectionSource1D : SMESH::SMESH_Hypothesis
00577 {
00581 void SetSourceEdge(in GEOM::GEOM_Object edge)
00582 raises (SALOME::SALOME_Exception);
00583
00587 GEOM::GEOM_Object GetSourceEdge();
00588
00592 void SetSourceMesh(in SMESH::SMESH_Mesh mesh);
00593
00597 SMESH::SMESH_Mesh GetSourceMesh();
00598
00603 void SetVertexAssociation(in GEOM::GEOM_Object sourceVertex,
00604 in GEOM::GEOM_Object targetVertex)
00605 raises (SALOME::SALOME_Exception);
00606
00611 GEOM::GEOM_Object GetSourceVertex();
00612
00617 GEOM::GEOM_Object GetTargetVertex();
00618 };
00619
00626 interface StdMeshers_ProjectionSource2D : SMESH::SMESH_Hypothesis
00627 {
00631 void SetSourceFace(in GEOM::GEOM_Object face)
00632 raises (SALOME::SALOME_Exception);
00633
00637 GEOM::GEOM_Object GetSourceFace();
00638
00642 void SetSourceMesh(in SMESH::SMESH_Mesh mesh);
00643
00647 SMESH::SMESH_Mesh GetSourceMesh();
00648
00654 void SetVertexAssociation(in GEOM::GEOM_Object sourceVertex1,
00655 in GEOM::GEOM_Object sourceVertex2,
00656 in GEOM::GEOM_Object targetVertex1,
00657 in GEOM::GEOM_Object targetVertex2)
00658 raises (SALOME::SALOME_Exception);
00659
00665 GEOM::GEOM_Object GetSourceVertex(in long i)
00666 raises (SALOME::SALOME_Exception);
00667
00673 GEOM::GEOM_Object GetTargetVertex(in long i)
00674 raises (SALOME::SALOME_Exception);
00675 };
00676
00683 interface StdMeshers_ProjectionSource3D : SMESH::SMESH_Hypothesis
00684 {
00688 void SetSource3DShape(in GEOM::GEOM_Object shape)
00689 raises (SALOME::SALOME_Exception);
00690
00694 GEOM::GEOM_Object GetSource3DShape();
00695
00699 void SetSourceMesh(in SMESH::SMESH_Mesh mesh);
00700
00704 SMESH::SMESH_Mesh GetSourceMesh();
00705
00711 void SetVertexAssociation(in GEOM::GEOM_Object sourceVertex1,
00712 in GEOM::GEOM_Object sourceVertex2,
00713 in GEOM::GEOM_Object targetVertex1,
00714 in GEOM::GEOM_Object targetVertex2)
00715 raises (SALOME::SALOME_Exception);
00716
00722 GEOM::GEOM_Object GetSourceVertex(in long i)
00723 raises (SALOME::SALOME_Exception);
00724
00730 GEOM::GEOM_Object GetTargetVertex(in long i)
00731 raises (SALOME::SALOME_Exception);
00732 };
00733
00739 interface StdMeshers_SegmentLengthAroundVertex : SMESH::SMESH_Hypothesis
00740 {
00744 void SetLength(in double length)
00745 raises (SALOME::SALOME_Exception);
00746
00750 double GetLength();
00751 };
00752
00756 enum QuadType
00757 {
00758 QUAD_STANDARD,
00759 QUAD_TRIANGLE_PREF,
00760 QUAD_QUADRANGLE_PREF,
00761 QUAD_QUADRANGLE_PREF_REVERSED,
00762 QUAD_REDUCED,
00763 QUAD_NB_TYPES
00764 };
00765
00766 interface StdMeshers_QuadrangleParams : SMESH::SMESH_Hypothesis
00767 {
00771 void SetTriaVertex( in long vertID );
00772
00776 long GetTriaVertex();
00777
00781 void SetObjectEntry( in string entry );
00782
00786 string GetObjectEntry();
00787
00791 void SetQuadType( in QuadType type );
00792
00796 QuadType GetQuadType();
00797 };
00798
00804 interface StdMeshers_ImportSource1D : SMESH::SMESH_Hypothesis
00805 {
00809 void SetSourceEdges(in SMESH::ListOfGroups groups);
00810 SMESH::string_array GetSourceEdges();
00811
00816 void SetCopySourceMesh(in boolean toCopyMesh, in boolean toCopyGroups);
00817 void GetCopySourceMesh(out boolean toCopyMesh,out boolean toCopyGroups);
00818 };
00819
00825 interface StdMeshers_ImportSource2D : SMESH::SMESH_Hypothesis
00826 {
00830 void SetSourceFaces(in SMESH::ListOfGroups groups);
00831 SMESH::string_array GetSourceFaces();
00832
00837 void SetCopySourceMesh(in boolean toCopyMesh,in boolean toCopyGroups);
00838 void GetCopySourceMesh(out boolean toCopyMesh,out boolean toCopyGroups);
00839 };
00840
00847 interface StdMeshers_ViscousLayers : SMESH::SMESH_Hypothesis
00848 {
00852 void SetIgnoreFaces(in SMESH::long_array faceIDs) raises (SALOME::SALOME_Exception);
00853 SMESH::long_array GetIgnoreFaces();
00854
00858 void SetTotalThickness(in double thickness) raises (SALOME::SALOME_Exception);
00859 double GetTotalThickness();
00860
00864 void SetNumberLayers(in short nb) raises (SALOME::SALOME_Exception);
00865 short GetNumberLayers();
00866
00870 void SetStretchFactor(in double factor) raises (SALOME::SALOME_Exception);
00871 double GetStretchFactor();
00872 };
00873
00877 interface StdMeshers_SegmentAroundVertex_0D : SMESH::SMESH_0D_Algo
00878 {
00879 };
00880
00884 interface StdMeshers_Regular_1D : SMESH::SMESH_1D_Algo
00885 {
00886 };
00887
00891 interface StdMeshers_CompositeSegment_1D : SMESH::SMESH_1D_Algo
00892 {
00893 };
00894
00898 interface StdMeshers_MEFISTO_2D : SMESH::SMESH_2D_Algo
00899 {
00900 };
00901
00905 interface StdMeshers_Quadrangle_2D : SMESH::SMESH_2D_Algo
00906 {
00907 };
00908
00912 interface StdMeshers_Hexa_3D : SMESH::SMESH_3D_Algo
00913 {
00914 };
00915
00919 interface StdMeshers_Prism_3D : SMESH::SMESH_3D_Algo
00920 {
00921 };
00922
00926 interface StdMeshers_RadialPrism_3D : SMESH::SMESH_3D_Algo
00927 {
00928 };
00929
00933 interface StdMeshers_Projection_3D : SMESH::SMESH_3D_Algo
00934 {
00935 };
00936
00940 interface StdMeshers_Projection_2D : SMESH::SMESH_2D_Algo
00941 {
00942 };
00943
00947 interface StdMeshers_Projection_1D : SMESH::SMESH_1D_Algo
00948 {
00949 };
00950
00955 interface StdMeshers_UseExisting_2D : SMESH::SMESH_2D_Algo
00956 {
00957 };
00958
00963 interface StdMeshers_UseExisting_1D : SMESH::SMESH_1D_Algo
00964 {
00965 };
00966
00970 interface StdMeshers_RadialQuadrangle_1D2D : SMESH::SMESH_2D_Algo
00971 {
00972 };
00973
00977 interface StdMeshers_Import_1D2D : SMESH::SMESH_2D_Algo
00978 {
00979 };
00983 interface StdMeshers_Import_1D : SMESH::SMESH_1D_Algo
00984 {
00985 };
00986
00987 };
00988
00989 #endif