Operator to check and modify mesh computation submesh priority (order) More...
#include <SMESHGUI_MeshOrderOp.h>
Public Member Functions | |
SMESHGUI_MeshOrderMgr (SMESHGUI_MeshOrderBox *) | |
Constructor. More... | |
virtual | ~SMESHGUI_MeshOrderMgr () |
Destructor. More... | |
void | SetMesh (SMESH::SMESH_Mesh_var &theMesh) |
Set root mesh object. More... | |
bool | GetMeshOrder () |
Check for concurents between submesh objects. More... | |
bool | GetMeshOrder (ListListId &theIds) |
Check for concurents between submesh objects. More... | |
bool | SetMeshOrder () |
Store submesh priority order. More... | |
bool | SetMeshOrder (const ListListId &theIds) |
Store given submesh priority order. More... | |
bool | IsOrderChanged () const |
Returns status is order changed by user. More... | |
Private Attributes | |
SMESH::SMESH_Mesh_var | myMesh |
SMESHGUI_MeshOrderBox * | myBox |
Operator to check and modify mesh computation submesh priority (order)
SMESHGUI_MeshOrderMgr::SMESHGUI_MeshOrderMgr | ( | SMESHGUI_MeshOrderBox * | theBox | ) |
Constructor.
References myMesh.
|
virtual |
Destructor.
bool SMESHGUI_MeshOrderMgr::GetMeshOrder | ( | ) |
Check for concurents between submesh objects.
Referenced by SMESHGUI_MeshOrderOp::initDialog(), and SMESHGUI_PrecomputeOp::initDialog().
bool SMESHGUI_MeshOrderMgr::GetMeshOrder | ( | ListListId & | theIds | ) |
Check for concurents between submesh objects.
References _PTR(), SMESHGUI_MeshOrderBox::Clear(), myBox, myMesh, SMESHGUI_MeshOrderBox::SetMeshes(), and SObject().
bool SMESHGUI_MeshOrderMgr::IsOrderChanged | ( | ) | const |
Returns status is order changed by user.
References SMESHGUI_MeshOrderBox::IsOrderChanged(), and myBox.
Referenced by SMESHGUI_PrecomputeOp::onCancel(), SMESHGUI_PrecomputeOp::onCompute(), and SMESHGUI_PrecomputeOp::onPreview().
void SMESHGUI_MeshOrderMgr::SetMesh | ( | SMESH::SMESH_Mesh_var & | theMesh | ) |
Set root mesh object.
References _PTR(), myBox, myMesh, and SObject().
Referenced by SMESHGUI_MeshOrderOp::initDialog(), and SMESHGUI_PrecomputeOp::initDialog().
bool SMESHGUI_MeshOrderMgr::SetMeshOrder | ( | ) |
Store submesh priority order.
References SMESHGUI_MeshOrderBox::GetMeshIds(), and myBox.
Referenced by SMESHGUI_MeshOrderOp::onApply(), SMESHGUI_PrecomputeOp::onCancel(), SMESHGUI_PrecomputeOp::onCompute(), and SMESHGUI_PrecomputeOp::onPreview().
bool SMESHGUI_MeshOrderMgr::SetMeshOrder | ( | const ListListId & | theIds | ) |
Store given submesh priority order.
Store submesh priority order.
References _PTR(), SMESHGUI::GetSMESHGUI(), SMESH::ModifiedMesh(), myMesh, SObject(), SMESH::Tag_FirstSubMesh, and SMESH::Tag_LastSubMesh.
|
private |
Referenced by GetMeshOrder(), IsOrderChanged(), SetMesh(), and SetMeshOrder().
|
private |
Referenced by GetMeshOrder(), SetMesh(), SetMeshOrder(), and SMESHGUI_MeshOrderMgr().