X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESH%2FSMESH_Gen.hxx;h=e73fe61756d0780a4a066355ee8c2bd01be6c588;hp=1433a79fa0d5f0fcc2da7c7bbabca59702c6c3e8;hb=fdab1d32d5c6a0e4e3e8548e717f725156ac88a2;hpb=10191484fe88a27e962b8e4b57e09d390d8705c7 diff --git a/src/SMESH/SMESH_Gen.hxx b/src/SMESH/SMESH_Gen.hxx index 1433a79fa..e73fe6175 100644 --- a/src/SMESH/SMESH_Gen.hxx +++ b/src/SMESH/SMESH_Gen.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2020 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -// SMESH SMESH : implementaion of SMESH idl descriptions +// SMESH SMESH : implementation of SMESH idl descriptions // File : SMESH_Gen.hxx // Author : Paul RASCLE, EDF // Module : SMESH @@ -42,6 +42,7 @@ #include #include +#include class SMESHDS_Document; class SMESH_Algo; @@ -83,13 +84,15 @@ public: * \param aFlags - ComputeFlags. By default compute the whole mesh and compact at the end. * \param aDim - upper level dimension of the mesh computation (for preview) * \param aShapesId - list of shapes with computed mesh entities (elements or nodes) + * \param anAllowedSubShapes - shapes to mesh only. Mesh all if empty or nullptr * \retval bool - true if none sub-mesh failed to compute */ - bool Compute(::SMESH_Mesh & aMesh, - const TopoDS_Shape & aShape, - const int aFlags = COMPACT_MESH, - const ::MeshDimension aDim=::MeshDim_3D, - TSetOfInt* aShapesId=0); + bool Compute(::SMESH_Mesh & aMesh, + const TopoDS_Shape & aShape, + const int aFlags = COMPACT_MESH, + const ::MeshDimension aDim=::MeshDim_3D, + TSetOfInt* aShapesId=0, + TopTools_IndexedMapOfShape* anAllowedSubShapes=0); void PrepareCompute(::SMESH_Mesh & aMesh, const TopoDS_Shape & aShape);