Operator to check and modify mesh computation submesh priority (order) More...
#include <SMESHGUI_MeshOrderOp.h>
Public Member Functions | |
SMESHGUI_MeshOrderOp () | |
Constructor. More... | |
virtual | ~SMESHGUI_MeshOrderOp () |
Destructor. More... | |
Protected Slots | |
virtual bool | onApply () |
Apply changes. More... | |
virtual void | onCancel () |
Apply changes. More... | |
virtual void | onOk () |
void | onHelp () |
Protected Member Functions | |
virtual LightApp_Dialog * | dlg () const |
Return operation dialog. More... | |
virtual void | startOperation () |
perform it's intention action: compute 2D mesh on 3D More... | |
virtual void | initDialog () |
sets the dialog widgets to state just after operation start More... | |
virtual bool | isReadyToStart () const |
virtual void | setIsApplyAndClose (const bool theFlag) |
virtual bool | isApplyAndClose () const |
virtual void | setDialogActive (const bool) |
Set according dialog active or inactive. More... | |
SMESHGUI * | getSMESHGUI () const |
bool | isStudyLocked (const bool=true) const |
Verifies whether study of operation is locked. More... | |
_PTR (Study) studyDS() const | |
virtual bool | isValid (SUIT_Operation *) const |
Verifies whether given operator is valid for this one. More... | |
Protected Attributes | |
QString | myHelpFileName |
bool | myIsApplyAndClose |
Private Attributes | |
SMESHGUI_MeshOrderDlg * | myDlg |
SMESHGUI_MeshOrderMgr * | myMgr |
Operator to check and modify mesh computation submesh priority (order)
SMESHGUI_MeshOrderOp::SMESHGUI_MeshOrderOp | ( | ) |
Constructor.
References myDlg, and SMESHGUI_Operation::myHelpFileName.
|
virtual |
Destructor.
|
protectedinherited |
Referenced by SMESHGUI_ShapeByMeshOp::commitOperation(), SMESHGUI_Make2DFrom3DOp::compute2DMesh(), SMESHGUI_BaseComputeOp::computeMesh(), SMESHGUI_ConvToQuadOp::ConnectRadioButtons(), SMESHGUI_BaseComputeOp::evaluateMesh(), SMESHGUI_PrecomputeOp::getAssignedAlgos(), SMESHGUI_PrecomputeOp::initDialog(), SMESHGUI_ReorientFacesOp::isValid(), SMESHGUI_Make2DFrom3DOp::isValid(), SMESHGUI_ConvToQuadOp::onApply(), SMESHGUI_GroupOnShapeOp::onApply(), SMESHGUI_SplitBiQuadOp::onApply(), SMESHGUI_BaseComputeOp::onGroupOfBadMesh(), SMESHGUI_PrecomputeOp::onPreview(), SMESHGUI_FindElemByPointOp::onSelectionDone(), SMESHGUI_SelectionOp::selected(), SMESHGUI_GroupOnShapeOp::selectionDone(), SMESHGUI_ConvToQuadOp::selectionDone(), SMESHGUI_Add0DElemsOnAllNodesOp::selectionDone(), SMESHGUI_Make2DFrom3DOp::selectionDone(), SMESHGUI_ShapeByMeshOp::SetMesh(), and SMESHGUI_SelectionOp::typeById().
|
protectedvirtual |
Return operation dialog.
References myDlg.
|
protectedinherited |
Referenced by SMESHGUI_BaseComputeOp::computeMesh(), SMESHGUI_BaseComputeOp::evaluateMesh(), SMESHGUI_Operation::isReadyToStart(), SMESHGUI_MeshOp::onGeomSelectionByMesh(), SMESHGUI_BaseComputeOp::onGroupOfBadMesh(), SMESHGUI_Operation::onHelp(), SMESHGUI_PrecomputeOp::onPreview(), SMESHGUI_BaseComputeOp::onPublishShape(), SMESHGUI_Add0DElemsOnAllNodesOp::onSetFilter(), SMESHGUI_BaseComputeOp::onShowBadMesh(), SMESHGUI_FindElemByPointOp::startOperation(), SMESHGUI_MakeNodeAtPointOp::startOperation(), and SMESHGUI_SelectionOp::viewWindow().
|
protectedvirtual |
sets the dialog widgets to state just after operation start
Init dialog and mesh order box.
Reimplemented from SMESHGUI_Operation.
References SMESH::GetMeshByIO(), SMESHGUI_MeshOrderMgr::GetMeshOrder(), SMESHGUI_MeshOrderDlg::GetMeshOrderBox(), myDlg, myMgr, onCancel(), and SMESHGUI_MeshOrderMgr::SetMesh().
|
protectedvirtualinherited |
References SMESHGUI_Operation::myIsApplyAndClose.
Referenced by SMESHGUI_GroupOnShapeOp::onApply(), SMESHGUI_MeshOp::onApply(), and SMESHGUI_Make2DFrom3DOp::onApply().
|
protectedvirtualinherited |
References SMESHGUI_Operation::getSMESHGUI(), and SMESHGUI_Operation::isStudyLocked().
Verifies whether study of operation is locked.
theMess | - specifies whether message box must be shown if study is locked |
Verifies whether study of operation is locked. If second parameter is TRUE and study is locked when corresponding message box appears
References SMESHGUI::desktop(), and studyDS().
Referenced by SMESHGUI_Operation::isReadyToStart(), SMESHGUI_GroupOnShapeOp::onApply(), SMESHGUI_ReorientFacesOp::onApply(), SMESHGUI_MakeNodeAtPointOp::onApply(), SMESHGUI_MeshOp::onApply(), and SMESHGUI_Make2DFrom3DOp::onApply().
|
protectedvirtualinherited |
Verifies whether given operator is valid for this one.
theOtherOp | - other operation |
Virtual method redefined from base class verifies whether given operator is valid for this one (i.e. can be started "above" this operator). In current implementation method returns false if theOtherOp operation is not intended for deleting objects or mesh elements.
Reimplemented in SMESHGUI_BaseComputeOp, and SMESHGUI_MeshOp.
Referenced by SMESHGUI_MeshOp::isValid().
|
protectedvirtualslot |
Apply changes.
References SMESHGUI::Modified(), myMgr, and SMESHGUI_MeshOrderMgr::SetMeshOrder().
|
protectedvirtualslot |
|
protectedslotinherited |
References SMESHGUI_Operation::getSMESHGUI(), and SMESHGUI_Operation::myHelpFileName.
Referenced by SMESHGUI_Operation::startOperation(), and SMESHGUI_PrecomputeOp::startOperation().
|
protectedvirtualslotinherited |
References SMESHGUI_Operation::onApply(), and SMESHGUI_Operation::setIsApplyAndClose().
Referenced by SMESHGUI_Operation::startOperation(), and SMESHGUI_PrecomputeOp::startOperation().
|
protectedvirtualinherited |
Set according dialog active or inactive.
References MESHCUT::d, and SMESHGUI_Dialog::setContentActive().
|
protectedvirtualinherited |
References SMESHGUI_Operation::myIsApplyAndClose.
Referenced by SMESHGUI_Operation::onOk().
|
protectedvirtual |
perform it's intention action: compute 2D mesh on 3D
Reimplemented from SMESHGUI_Operation.
References myDlg, myMgr, SMESHGUI_Dialog::show(), and SMESHGUI_Operation::startOperation().
|
private |
Referenced by dlg(), initDialog(), SMESHGUI_MeshOrderOp(), and startOperation().
|
protectedinherited |
Referenced by SMESHGUI_PrecomputeOp::onCompute(), SMESHGUI_Operation::onHelp(), SMESHGUI_Add0DElemsOnAllNodesOp::SMESHGUI_Add0DElemsOnAllNodesOp(), SMESHGUI_BaseComputeOp::SMESHGUI_BaseComputeOp(), SMESHGUI_ComputeOp::SMESHGUI_ComputeOp(), SMESHGUI_EvaluateOp::SMESHGUI_EvaluateOp(), SMESHGUI_FindElemByPointOp::SMESHGUI_FindElemByPointOp(), SMESHGUI_GroupOnShapeOp::SMESHGUI_GroupOnShapeOp(), SMESHGUI_MakeNodeAtPointOp::SMESHGUI_MakeNodeAtPointOp(), SMESHGUI_MeshOrderOp(), SMESHGUI_Operation::SMESHGUI_Operation(), SMESHGUI_ReorientFacesOp::SMESHGUI_ReorientFacesOp(), SMESHGUI_ConvToQuadOp::startOperation(), SMESHGUI_SplitBiQuadOp::startOperation(), SMESHGUI_MeshOp::startOperation(), SMESHGUI_Make2DFrom3DOp::startOperation(), and SMESHGUI_PrecomputeOp::startOperation().
|
protectedinherited |
Referenced by SMESHGUI_Operation::isApplyAndClose(), and SMESHGUI_Operation::setIsApplyAndClose().
|
private |
Referenced by initDialog(), onApply(), onCancel(), and startOperation().