Deleter of theNodeSearcher and theElementSearcher at any compute event occurred. More...
Public Types | |
typedef map< int, SMESH_subMesh * > | TDependsOnMap |
The meshod called by submesh: do my main job. More... | |
Public Member Functions | |
TSearchersDeleter () | |
Delete theNodeSearcher. More... | |
void | ProcessEvent (const int, const int eventType, SMESH_subMesh *sm, SMESH_subMeshEventListenerData *, const SMESH_Hypothesis *) |
set self on all submeshes and delete theNodeSearcher if other mesh is set More... | |
void | Set (SMESH_Mesh *mesh, const string &meshPartIOR=string()) |
delete self from all submeshes More... | |
void | Unset (SMESH_Mesh *mesh) |
bool | IsDeletable () const |
const char * | GetName () const |
virtual void | BeforeDelete (SMESH_subMesh *, SMESH_subMeshEventListenerData *) |
Static Public Member Functions | |
static void | Delete () |
Data Fields | |
SMESH_Mesh * | myMesh |
string | myMeshPartIOR |
Constructor. More... | |
Private Attributes | |
bool | myIsDeletable |
if true, it will be deleted by SMESH_subMesh More... | |
std::set< SMESH_subMesh * > | myBusySM |
to avoid infinite recursion via events More... | |
const char * | myName |
identifier More... | |
Deleter of theNodeSearcher and theElementSearcher at any compute event occurred.
typedef map< int, SMESH_subMesh * > MeshEditor_I::TSearchersDeleter::TDependsOnMap |
The meshod called by submesh: do my main job.
MeshEditor_I::TSearchersDeleter::TSearchersDeleter | ( | ) |
Delete theNodeSearcher.
|
virtualinherited |
|
static |
References MeshEditor_I::theElementSearcher, and MeshEditor_I::theNodeSearcher.
|
inherited |
Referenced by SMESH_subMesh::setEventListener().
|
inherited |
Referenced by SMESH_subMesh::setEventListener().
|
virtual |
set self on all submeshes and delete theNodeSearcher if other mesh is set
Reimplemented from SMESH_subMeshEventListener.
References SMESH_subMesh::COMPUTE_EVENT, and SMESH_subMesh::GetFather().
void MeshEditor_I::TSearchersDeleter::Set | ( | SMESH_Mesh * | mesh, |
const string & | meshPartIOR = string() |
||
) |
delete self from all submeshes
References SMESH_subMesh::getDependsOnIterator(), SMESH_Mesh::GetShapeToMesh(), SMESH_Mesh::GetSubMesh(), and SMESH_subMesh::SetEventListener().
Referenced by SMESH_MeshEditor_i::CreateHoleSkin(), SMESH_MeshEditor_i::FindAmongElementsByPoint(), SMESH_MeshEditor_i::FindElementsByPoint(), SMESH_MeshEditor_i::FindNodeClosestTo(), SMESH_MeshEditor_i::GetPointState(), SMESH_MeshEditor_i::MakePolyLine(), SMESH_MeshEditor_i::MoveClosestNodeToPoint(), SMESH_MeshEditor_i::MoveNode(), SMESH_MeshEditor_i::ProjectPoint(), and SMESH_MeshEditor_i::Reorient2D().
void MeshEditor_I::TSearchersDeleter::Unset | ( | SMESH_Mesh * | mesh | ) |
References SMESH_Mesh::GetSubMeshContaining().
|
mutableprivateinherited |
to avoid infinite recursion via events
|
privateinherited |
if true, it will be deleted by SMESH_subMesh
SMESH_Mesh* MeshEditor_I::TSearchersDeleter::myMesh |
string MeshEditor_I::TSearchersDeleter::myMeshPartIOR |
Constructor.
|
privateinherited |
identifier