X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESH%2FSMESH_subMesh.hxx;h=a2eef50b11898393fc29623c061129fdfbe58f6d;hb=cb55604f37e3d2583272fd436bb6557b041948b5;hp=03dd98e491b9448c9cf04a8396f070004b62890f;hpb=54580d9a2a716c32a6d7772a3545811d9538cb96;p=modules%2Fsmesh.git diff --git a/src/SMESH/SMESH_subMesh.hxx b/src/SMESH/SMESH_subMesh.hxx index 03dd98e49..a2eef50b1 100644 --- a/src/SMESH/SMESH_subMesh.hxx +++ b/src/SMESH/SMESH_subMesh.hxx @@ -36,6 +36,7 @@ #include "Utils_SALOME_Exception.hxx" #include +#include #include #include @@ -256,6 +257,15 @@ public: bool IsMeshComputed() const; // check if _subMeshDS contains mesh elements unless _alwaysComputed==true + bool IsComputedPartially() const; + // check if any upper level sub-shape is not computed + + /*! + * \brief Set sub-shapes that are allowed to compute at once by a multidimensional algo + */ + void SetAllowedSubShapes( const TopTools_IndexedMapOfShape* subShapes ) + { _allowedSubShapes = subShapes; } + /*! * \brief Allow algo->Compute() if a subshape of lower dim is meshed but * none mesh entity is bound to it @@ -344,6 +354,8 @@ protected: // mesh several edges as a whole and leave some of them without mesh entities bool _alwaysComputed; + const TopTools_IndexedMapOfShape* _allowedSubShapes; // allowed to be returned by getCollection() + }; #endif