small improvement of API

-  void ComputeSubMeshStateEngine(int event);
+  void ComputeSubMeshStateEngine(int event, const bool includeSelf=false);
This commit is contained in:
eap 2012-04-24 14:29:10 +00:00
parent 424975b8a3
commit e72b1cdc40
2 changed files with 3 additions and 3 deletions

View File

@ -1804,9 +1804,9 @@ void SMESH_subMesh::updateSubMeshState(const compute_state theState)
//purpose :
//=======================================================================
void SMESH_subMesh::ComputeSubMeshStateEngine(int event)
void SMESH_subMesh::ComputeSubMeshStateEngine(int event, const bool includeSelf)
{
SMESH_subMeshIteratorPtr smIt = getDependsOnIterator(false,false);
SMESH_subMeshIteratorPtr smIt = getDependsOnIterator(includeSelf,false);
while ( smIt->more() )
smIt->next()->ComputeStateEngine(event);
}

View File

@ -210,7 +210,7 @@ public:
void DumpAlgoState(bool isMain);
bool ComputeStateEngine(int event);
void ComputeSubMeshStateEngine(int event);
void ComputeSubMeshStateEngine(int event, const bool includeSelf=false);
bool Evaluate(MapShapeNbElems& aResMap);