Class used to detect mesh modification: IsMeshModified() returns true if a mesh has changed since last calling IsMeshModified() More...
#include <SMESH_ControlsDef.hxx>
Public Member Functions | |
TMeshModifTracer () | |
void | SetMesh (const SMDS_Mesh *theMesh) |
const SMDS_Mesh * | GetMesh () const |
bool | IsMeshModified () |
Private Attributes | |
unsigned long | myMeshModifTime |
const SMDS_Mesh * | myMesh |
Class used to detect mesh modification: IsMeshModified() returns true if a mesh has changed since last calling IsMeshModified()
TMeshModifTracer::TMeshModifTracer | ( | ) |
const SMDS_Mesh* SMESH::Controls::TMeshModifTracer::GetMesh | ( | ) | const |
Referenced by SMESH::Controls::ElementsOnShape::clone(), SMESH::Controls::ElementsOnShape::IsSatisfy(), SMESH::Controls::ConnectedElements::IsSatisfy(), SMESH::Controls::ElementsOnSurface::process(), SMESH::Controls::CoplanarFaces::SetMesh(), SMESH::Controls::ConnectedElements::SetNode(), and SMESH::Controls::ConnectedElements::SetPoint().
bool TMeshModifTracer::IsMeshModified | ( | ) |
References SMDS_Mesh::GetMTime(), myMesh, and myMeshModifTime.
Referenced by SMESH::Controls::ElementsOnSurface::SetMesh(), SMESH::Controls::ElementsOnShape::SetMesh(), SMESH::Controls::CoplanarFaces::SetMesh(), SMESH::Controls::ConnectedElements::SetMesh(), SMESH::Controls::ConnectedElements::SetNode(), SMESH::Controls::ConnectedElements::SetPoint(), and SMESH::Controls::ConnectedElements::SetType().
void TMeshModifTracer::SetMesh | ( | const SMDS_Mesh * | theMesh | ) |
|
private |
Referenced by IsMeshModified(), and SetMesh().
|
private |
Referenced by IsMeshModified(), and SetMesh().