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 concurrents between submesh objects. More... | |
bool | GetMeshOrder (ListListId &theIds) |
Check for concurrents 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 concurrents between submesh objects.
Referenced by SMESHGUI_PrecomputeOp::initDialog(), and SMESHGUI_MeshOrderOp::initDialog().
bool SMESHGUI_MeshOrderMgr::GetMeshOrder | ( | ListListId & | theIds | ) |
Check for concurrents between submesh objects.
References SMESH::_PTR(), SMESHGUI_MeshOrderBox::Clear(), myBox, myMesh, and SMESHGUI_MeshOrderBox::SetMeshes().
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 SMESH::_PTR(), myBox, and myMesh.
Referenced by SMESHGUI_PrecomputeOp::initDialog(), and SMESHGUI_MeshOrderOp::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 SMESH::_PTR(), SMESHGUI::GetSMESHGUI(), myMesh, SMESH::Tag_FirstSubMesh, and SMESH::Tag_LastSubMesh.
|
private |
Referenced by GetMeshOrder(), IsOrderChanged(), SetMesh(), and SetMeshOrder().
|
private |
Referenced by GetMeshOrder(), SetMesh(), SetMeshOrder(), and SMESHGUI_MeshOrderMgr().