X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESH%2FSMESH_Mesh.hxx;h=5054e0038d29f534b2a0570d94a0ce99d4251d19;hb=12b34b1b56add2bc44228da392aaf68a79128b8b;hp=2864deade7a565b904604cc8e02f82e38d94a2e8;hpb=e753a76d0e047f2a4159b95a60d4e523e0c40c8d;p=modules%2Fsmesh.git diff --git a/src/SMESH/SMESH_Mesh.hxx b/src/SMESH/SMESH_Mesh.hxx index 2864deade..5054e0038 100644 --- a/src/SMESH/SMESH_Mesh.hxx +++ b/src/SMESH/SMESH_Mesh.hxx @@ -37,7 +37,8 @@ #include "SMESHDS_Command.hxx" #include "SMDSAbs_ElementType.hxx" -#include "NMTTools_IndexedDataMapOfShapeIndexedMapOfShape.hxx" +//#include "NMTTools_IndexedDataMapOfShapeIndexedMapOfShape.hxx" +#include "SMESH_IndexedDataMapOfShapeIndexedMapOfShape.hxx" #include "Utils_SALOME_Exception.hxx" @@ -70,7 +71,8 @@ class TopTools_ListOfShape; class SMESH_subMesh; class SMESH_HypoFilter; -typedef NMTTools_IndexedDataMapOfShapeIndexedMapOfShape IndexedMapOfChain; +//typedef NMTTools_IndexedDataMapOfShapeIndexedMapOfShape IndexedMapOfChain; +typedef SMESH_IndexedDataMapOfShapeIndexedMapOfShape IndexedMapOfChain; class SMESH_Mesh { @@ -129,6 +131,9 @@ public: SMESH_subMesh *GetSubMeshContaining(const TopoDS_Shape & aSubShape) throw(SALOME_Exception); + SMESH_subMesh *GetSubMeshContaining(const int aShapeID) + throw(SALOME_Exception); + const list < SMESH_subMesh * >& GetSubMeshUsingHypothesis(SMESHDS_Hypothesis * anHyp) throw(SALOME_Exception); @@ -165,6 +170,8 @@ public: int NbTriangles() throw(SALOME_Exception); int NbQuadrangles() throw(SALOME_Exception); + + int NbPolygons() throw(SALOME_Exception); int NbVolumes() throw(SALOME_Exception); @@ -173,9 +180,11 @@ public: int NbHexas() throw(SALOME_Exception); int NbPyramids() throw(SALOME_Exception); - + int NbPrisms() throw(SALOME_Exception); + int NbPolyhedrons() throw(SALOME_Exception); + int NbSubMesh() throw(SALOME_Exception); int NbGroup() const { return _mapGroup.size(); } @@ -214,6 +223,8 @@ public: bool RebuildPropagationChains(); bool RemovePropagationChain (const TopoDS_Shape& theMainEdge); bool BuildPropagationChain (const TopoDS_Shape& theMainEdge); + + SMDSAbs_ElementType GetElementType( const int id, const bool iselem ); //