26 #ifndef _SMESH_MESH_IDL_
27 #define _SMESH_MESH_IDL_
29 #include "SALOME_Exception.idl"
30 #include "SALOME_GenericObj.idl"
31 #include "GEOM_Gen.idl"
302 long_array GetMeshInfo();
308 long_array GetNbElementsByType();
314 array_of_ElementType GetTypes();
325 boolean IsMeshInfoCorrect();
330 SALOMEDS::TMPFile GetVtkUgStream();
349 raises (SALOME::SALOME_Exception);
356 raises (SALOME::SALOME_Exception);
362 raises (SALOME::SALOME_Exception);
368 raises (SALOME::SALOME_Exception);
374 raises (SALOME::SALOME_Exception);
379 submesh_array GetSubMeshes()
380 raises (SALOME::SALOME_Exception);
386 raises (SALOME::SALOME_Exception);
395 raises (SALOME::SALOME_Exception);
401 raises (SALOME::SALOME_Exception);
409 raises (SALOME::SALOME_Exception);
416 in GEOM::GEOM_Object geomObject )
417 raises (SALOME::SALOME_Exception);
425 raises (SALOME::SALOME_Exception);
431 raises (SALOME::SALOME_Exception);
437 raises (SALOME::SALOME_Exception);
443 raises (SALOME::SALOME_Exception);
449 raises (SALOME::SALOME_Exception);
459 raises (SALOME::SALOME_Exception);
466 SMESH_Group UnionListOfGroups (in ListOfGroups aListOfGroups,
468 raises (SALOME::SALOME_Exception);
478 raises (SALOME::SALOME_Exception);
485 SMESH_Group IntersectListOfGroups (in ListOfGroups aListOfGroups,
487 raises (SALOME::SALOME_Exception);
497 raises (SALOME::SALOME_Exception);
504 SMESH_Group CutListOfGroups (in ListOfGroups aMainGroups,
505 in ListOfGroups aToolGroups,
507 raises (SALOME::SALOME_Exception);
520 SMESH_Group CreateDimGroup( in ListOfIDSources aListOfGroups,
524 in
boolean underlyingOnly )
525 raises (SALOME::SALOME_Exception);
531 raises (SALOME::SALOME_Exception);
549 out
string anErrorText)
550 raises (SALOME::SALOME_Exception);
557 raises (SALOME::SALOME_Exception);
563 raises (SALOME::SALOME_Exception);
571 log_array
GetLog(in
boolean clearAfterGet)
572 raises (SALOME::SALOME_Exception);
579 raises (SALOME::SALOME_Exception);
587 raises (SALOME::SALOME_Exception);
593 raises (SALOME::SALOME_Exception);
609 raises (SALOME::SALOME_Exception);
616 raises (SALOME::SALOME_Exception);
623 raises (SALOME::SALOME_Exception);
645 void ExportToMEDX( in
string file,
646 in
boolean auto_groups,
648 in
boolean overwrite,
649 in
boolean autoDimension) raises (SALOME::SALOME_Exception);
672 in
boolean auto_groups,
674 in
boolean overwrite,
675 in
boolean autoDimension,
676 in GEOM::ListOfFields fields,
677 in
string geomAssocFields ) raises (SALOME::SALOME_Exception);
684 void ExportToMED( in
string file, in
boolean auto_groups, in
MED_VERSION theVersion )
685 raises (SALOME::SALOME_Exception);
693 void ExportMED( in
string file, in
boolean auto_groups )
694 raises (SALOME::SALOME_Exception);
700 void ExportSAUV( in
string file, in
boolean auto_groups )
701 raises (SALOME::SALOME_Exception);
706 string GetVersionString(in
MED_VERSION version, in
short nbDigits);
712 void ExportDAT( in
string file ) raises (SALOME::SALOME_Exception);
713 void ExportUNV( in
string file ) raises (SALOME::SALOME_Exception);
715 in
boolean isascii ) raises (SALOME::SALOME_Exception);
718 in
boolean overwrite ) raises (SALOME::SALOME_Exception);
721 in
boolean withRequiredGroups) raises (SALOME::SALOME_Exception);
723 in
string file ) raises (SALOME::SALOME_Exception);
725 in
string file ) raises (SALOME::SALOME_Exception);
728 in
boolean isascii ) raises (SALOME::SALOME_Exception);
738 raises (SALOME::SALOME_Exception);
741 raises (SALOME::SALOME_Exception);
744 raises (SALOME::SALOME_Exception);
747 raises (SALOME::SALOME_Exception);
750 raises (SALOME::SALOME_Exception);
753 raises (SALOME::SALOME_Exception);
756 raises (SALOME::SALOME_Exception);
759 raises (SALOME::SALOME_Exception);
762 raises (SALOME::SALOME_Exception);
765 raises (SALOME::SALOME_Exception);
768 raises (SALOME::SALOME_Exception);
771 raises (SALOME::SALOME_Exception);
774 raises (SALOME::SALOME_Exception);
777 raises (SALOME::SALOME_Exception);
780 raises (SALOME::SALOME_Exception);
783 raises (SALOME::SALOME_Exception);
786 raises (SALOME::SALOME_Exception);
789 raises (SALOME::SALOME_Exception);
792 raises (SALOME::SALOME_Exception);
795 raises (SALOME::SALOME_Exception);
798 raises (SALOME::SALOME_Exception);
801 raises (SALOME::SALOME_Exception);
804 raises (SALOME::SALOME_Exception);
807 raises (SALOME::SALOME_Exception);
810 raises (SALOME::SALOME_Exception);
813 raises (SALOME::SALOME_Exception);
816 raises (SALOME::SALOME_Exception);
819 raises (SALOME::SALOME_Exception);
822 raises (SALOME::SALOME_Exception);
825 raises (SALOME::SALOME_Exception);
827 long_array GetElementsId()
828 raises (SALOME::SALOME_Exception);
830 long_array GetElementsByType( in
ElementType theType )
831 raises (SALOME::SALOME_Exception);
833 long_array GetNodesId()
834 raises (SALOME::SALOME_Exception);
840 raises (SALOME::SALOME_Exception);
843 raises (SALOME::SALOME_Exception);
846 raises (SALOME::SALOME_Exception);
848 long_array GetSubMeshElementsId(in
long ShapeID)
849 raises (SALOME::SALOME_Exception);
851 long_array GetSubMeshNodesId(in
long ShapeID, in
boolean all )
852 raises (SALOME::SALOME_Exception);
855 raises (SALOME::SALOME_Exception);
865 boolean IsUnorderedSubMesh(in
long submeshID);
875 boolean SetMeshOrder(in submesh_array_array theSubMeshArray);
886 long long GetMeshPtr();
892 double_array GetNodeXYZ(in
long id);
898 long_array GetNodeInverseElements(in
long id);
914 long GetShapeID(in
long id);
921 long GetShapeIDForElem(in
long id);
927 long GetElemNbNodes(in
long id);
932 long_array GetElemNodes(in
long id);
939 long GetElemNode(in
long id, in
long index);
945 boolean IsMediumNode(in
long ide, in
long idn);
951 boolean IsMediumNodeOfAnyElem(in
long idn, in
ElementType elem_type);
956 long ElemNbEdges(in
long id);
961 long ElemNbFaces(in
long id);
966 long_array GetElemFaceNodes(in
long elemId, in
short faceIndex);
971 double_array GetFaceNormal(in
long faceId, in
boolean normalized);
976 long FindElementByNodes(in long_array nodes);
981 boolean IsPoly(in
long id);
986 boolean IsQuadratic(in
long id);
991 double GetBallDiameter(in
long id);
998 double_array BaryCenter(in
long id);
1007 void SetParameters (in
string theParameters);
1012 string GetParameters();
1017 string_array GetLastParameters();
1025 long GetNumberOfElements()
1026 raises (SALOME::SALOME_Exception);
1031 long GetNumberOfNodes( in
boolean all )
1032 raises (SALOME::SALOME_Exception);
1037 long_array GetElementsId()
1038 raises (SALOME::SALOME_Exception);
1043 long_array GetElementsByType( in
ElementType theType )
1044 raises (SALOME::SALOME_Exception);
1049 ElementType GetElementType( in
long id, in
boolean iselem )
1050 raises (SALOME::SALOME_Exception);
1055 long_array GetNodesId()
1056 raises (SALOME::SALOME_Exception);
1062 raises (SALOME::SALOME_Exception);
1068 raises (SALOME::SALOME_Exception);