Version: 9.12.0
SMESHGUI_MeshOrderMgr Class Reference

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_MeshOrderBoxmyBox
 

Detailed Description

Operator to check and modify mesh computation submesh priority (order)

Constructor & Destructor Documentation

◆ SMESHGUI_MeshOrderMgr()

SMESHGUI_MeshOrderMgr::SMESHGUI_MeshOrderMgr ( SMESHGUI_MeshOrderBox theBox)

Constructor.

References myMesh.

◆ ~SMESHGUI_MeshOrderMgr()

SMESHGUI_MeshOrderMgr::~SMESHGUI_MeshOrderMgr ( )
virtual

Destructor.

Member Function Documentation

◆ GetMeshOrder() [1/2]

bool SMESHGUI_MeshOrderMgr::GetMeshOrder ( )

Check for concurrents between submesh objects.

Referenced by SMESHGUI_PrecomputeOp::initDialog(), and SMESHGUI_MeshOrderOp::initDialog().

◆ GetMeshOrder() [2/2]

bool SMESHGUI_MeshOrderMgr::GetMeshOrder ( ListListId theIds)

Check for concurrents between submesh objects.

References SMESH::_PTR(), SMESHGUI_MeshOrderBox::Clear(), myBox, myMesh, and SMESHGUI_MeshOrderBox::SetMeshes().

◆ IsOrderChanged()

bool SMESHGUI_MeshOrderMgr::IsOrderChanged ( ) const

◆ SetMesh()

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().

◆ SetMeshOrder() [1/2]

bool SMESHGUI_MeshOrderMgr::SetMeshOrder ( )

◆ SetMeshOrder() [2/2]

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.

Field Documentation

◆ myBox

SMESHGUI_MeshOrderBox* SMESHGUI_MeshOrderMgr::myBox
private

◆ myMesh

SMESH::SMESH_Mesh_var SMESHGUI_MeshOrderMgr::myMesh
private