SMESH_subMeshEventListener used to store _ProxyMeshOfFace, computed by _ViscousBuilder2D, in a SMESH_subMesh of the FACE. This is to delete _ProxyMeshOfFace when StdMeshers_ViscousLayers2D hypothesis is modified. More...
Public Member Functions | |
void | ProcessEvent (const int event, const int eventType, SMESH_subMesh *subMesh, EventListenerData *data, const SMESH_Hypothesis *) |
Do something on a certain event. More... | |
Public Member Functions inherited from SMESH_subMeshEventListener | |
virtual void | BeforeDelete (SMESH_subMesh *subMesh, SMESH_subMeshEventListenerData *data) |
const char * | GetName () const |
bool | IsDeletable () const |
SMESH_subMeshEventListener (bool isDeletable, const char *name) | |
virtual | ~SMESH_subMeshEventListener () |
Static Public Member Functions | |
static SMESH_ProxyMesh::Ptr | FindProxyMeshOfFace (const TopoDS_Shape &face, SMESH_Mesh &mesh) |
Detailed Description
SMESH_subMeshEventListener used to store _ProxyMeshOfFace, computed by _ViscousBuilder2D, in a SMESH_subMesh of the FACE. This is to delete _ProxyMeshOfFace when StdMeshers_ViscousLayers2D hypothesis is modified.
Member Function Documentation
◆ FindProxyMeshOfFace()
|
static |
References SMESH_subMesh::GetEventListenerData().
◆ ProcessEvent()
|
virtual |
Do something on a certain event.
- Parameters
-
event - algo_event or compute_event itself (of SMESH_subMesh) eventType - ALGO_EVENT or COMPUTE_EVENT (of SMESH_subMesh) subMesh - the submesh where the event occures data - listener data stored in the subMesh hyp - hypothesis, if eventType is algo_event
The base implementation (see SMESH_subMesh.cxx) translates CLEAN event to the subMeshes stored in the listener data. Also it sends SUBMESH_COMPUTED event in case of successful COMPUTE event.
- Parameters
-
event - algo_event or compute_event itself eventType - algo_event or compute_event subMesh - the submesh where the event occures data - listener data stored in the subMesh hyp - hypothesis, if eventType is algo_event
The base implementation translates CLEAN event to the subMesh stored in listener data. Also it sends SUBMESH_COMPUTED event in case of successful COMPUTE event.
Reimplemented from SMESH_subMeshEventListener.
References SMESH_subMesh::CLEAN, and SMESH_subMesh::COMPUTE_EVENT.
The documentation for this struct was generated from the following file:
- src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_ViscousLayers2D.cpp