Version: 9.12.0
SMESHGUI_EvaluateOp Class Reference

Operation to evaluate a mesh and show result. More...

#include <SMESHGUI_ComputeDlg.h>

Inheritance diagram for SMESHGUI_EvaluateOp:

Public Member Functions

 SMESHGUI_EvaluateOp ()
 Constructor. More...
 
virtual ~SMESHGUI_EvaluateOp ()
 Destructor. More...
 
virtual LightApp_Dialogdlg () const
 Gets dialog of this operation. More...
 
SMESH::SMESH_Mesh_ptr getMesh ()
 Return a selected mesh. More...
 

Protected Slots

virtual bool onApply ()
 returns from compute mesh result dialog More...
 
void onPreviewShape ()
 update preview More...
 
void onPublishShape ()
 publish selected sub-shape More...
 
void onShowBadMesh ()
 show mesh elements preventing computation of a submesh of current row More...
 
void onGroupOfBadMesh ()
 create groups of bad mesh elements preventing computation of a submesh of current row More...
 
void currentCellChanged ()
 SLOT called when a selected cell in table() changed. More...
 
virtual void onOk ()
 
virtual void onCancel ()
 
void onHelp ()
 

Protected Member Functions

virtual void startOperation ()
 perform it's intention action: compute mesh More...
 
virtual void stopOperation ()
 Stops operation. More...
 
SMESHGUI_ComputeDlgcomputeDlg () const
 Gets dialog of compute operation. More...
 
void computeMesh ()
 computeMesh() More...
 
void showComputeResult (const bool, const bool, SMESH::compute_error_array_var &, const bool, const QString &)
 
SMESHGUI_ComputeDlgevaluateDlg () const
 Gets dialog of evaluate operation. More...
 
void evaluateMesh ()
 evaluateMesh() More...
 
void showEvaluateResult (const SMESH::smIdType_array &theRes, const bool, const bool, SMESH::compute_error_array_var &, const bool, const QString &)
 
virtual bool isValid (SUIT_Operation *theOp) const
 check the same operations on the same mesh More...
 
 Handle (SALOME_InteractiveObject) myIObject
 
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...
 
SMESHGUIgetSMESHGUI () const
 

Protected Attributes

SMESH::SMESH_Mesh_var myMesh
 
GEOM::GEOM_Object_var myMainShape
 
GEOM::GEOM_Object_var myCurShape
 
SMESH::TShapeDisplayermyTShapeDisplayer
 
SMESHGUI_MeshEditPreviewmyBadMeshDisplayer
 
QString myHelpFileName
 
bool myIsApplyAndClose
 

Private Member Functions

QTableWidgettable ()
 Return a table. More...
 

Private Attributes

QPointer< SMESHGUI_ComputeDlgmyCompDlg
 

Detailed Description

Operation to evaluate a mesh and show result.

Constructor & Destructor Documentation

◆ SMESHGUI_EvaluateOp()

SMESHGUI_EvaluateOp::SMESHGUI_EvaluateOp ( )

Constructor.

References SMESHGUI_Operation::myHelpFileName.

◆ ~SMESHGUI_EvaluateOp()

SMESHGUI_EvaluateOp::~SMESHGUI_EvaluateOp ( )
virtual

Destructor.

Member Function Documentation

◆ computeDlg()

◆ computeMesh()

◆ currentCellChanged

◆ dlg()

LightApp_Dialog * SMESHGUI_EvaluateOp::dlg ( ) const
virtual

Gets dialog of this operation.

Return values
LightApp_Dialog*- pointer to dialog of this operation

Reimplemented from SMESHGUI_BaseComputeOp.

References SMESHGUI_BaseComputeOp::evaluateDlg().

◆ evaluateDlg()

SMESHGUI_ComputeDlg * SMESHGUI_BaseComputeOp::evaluateDlg ( ) const
protectedinherited

◆ evaluateMesh()

◆ getMesh()

SMESH::SMESH_Mesh_ptr SMESHGUI_BaseComputeOp::getMesh ( )
inherited

◆ getSMESHGUI()

◆ Handle()

SMESHGUI_BaseComputeOp::Handle ( SALOME_InteractiveObject  )
protectedinherited

◆ initDialog()

void SMESHGUI_Operation::initDialog ( )
protectedvirtualinherited

sets the dialog widgets to state just after operation start

Reimplemented in SMESHGUI_SelectionOp, SMESHGUI_MeshOrderOp, and SMESHGUI_PrecomputeOp.

Referenced by SMESHGUI_Operation::startOperation().

◆ isApplyAndClose()

bool SMESHGUI_Operation::isApplyAndClose ( ) const
protectedvirtualinherited

◆ isReadyToStart()

bool SMESHGUI_Operation::isReadyToStart ( ) const
protectedvirtualinherited

◆ isValid()

bool SMESHGUI_BaseComputeOp::isValid ( SUIT_Operation *  theOp) const
protectedvirtualinherited

check the same operations on the same mesh

Reimplemented from SMESHGUI_Operation.

References SMESHGUI_BaseComputeOp::getMesh(), and SMESHGUI_BaseComputeOp::myMesh.

◆ onApply

bool SMESHGUI_BaseComputeOp::onApply ( )
protectedvirtualslotinherited

returns from compute mesh result dialog

Referenced by SMESHGUI_PrecomputeOp::startOperation().

◆ onCancel

void SMESHGUI_Operation::onCancel ( )
protectedvirtualslotinherited

◆ onGroupOfBadMesh

void SMESHGUI_BaseComputeOp::onGroupOfBadMesh ( )
protectedslotinherited

◆ onHelp

void SMESHGUI_Operation::onHelp ( )
protectedslotinherited

◆ onOk

void SMESHGUI_Operation::onOk ( )
protectedvirtualslotinherited

◆ onPreviewShape

◆ onPublishShape

◆ onShowBadMesh

◆ setDialogActive()

void SMESHGUI_Operation::setDialogActive ( const bool  active)
protectedvirtualinherited

Set according dialog active or inactive.

References MESHCUT::d.

◆ setIsApplyAndClose()

void SMESHGUI_Operation::setIsApplyAndClose ( const bool  theFlag)
protectedvirtualinherited

◆ showComputeResult()

◆ showEvaluateResult()

◆ startOperation()

void SMESHGUI_EvaluateOp::startOperation ( )
protectedvirtual

◆ stopOperation()

void SMESHGUI_BaseComputeOp::stopOperation ( )
protectedvirtualinherited

◆ table()

Field Documentation

◆ myBadMeshDisplayer

◆ myCompDlg

◆ myCurShape

GEOM::GEOM_Object_var SMESHGUI_BaseComputeOp::myCurShape
protectedinherited

◆ myHelpFileName

◆ myIsApplyAndClose

bool SMESHGUI_Operation::myIsApplyAndClose
protectedinherited

◆ myMainShape

◆ myMesh

◆ myTShapeDisplayer