Version: 9.12.0
SMESHGUI_ComputeDlg_QThread Class Reference

Thread to launch computation. More...

#include <SMESHGUI_ComputeDlg.h>

Inheritance diagram for SMESHGUI_ComputeDlg_QThread:

Public Member Functions

 SMESHGUI_ComputeDlg_QThread (SMESH::SMESH_Gen_var gen, SMESH::SMESH_Mesh_var mesh, GEOM::GEOM_Object_var mainShape)
 
bool result ()
 
void cancel ()
 
SMESH::SMESH_Mesh_var & getMesh ()
 

Protected Member Functions

void run ()
 

Private Attributes

SMESH::SMESH_Gen_var myGen
 
SMESH::SMESH_Mesh_var myMesh
 
GEOM::GEOM_Object_var myMainShape
 
bool myResult
 

Detailed Description

Thread to launch computation.

Constructor & Destructor Documentation

◆ SMESHGUI_ComputeDlg_QThread()

SMESHGUI_ComputeDlg_QThread::SMESHGUI_ComputeDlg_QThread ( SMESH::SMESH_Gen_var  gen,
SMESH::SMESH_Mesh_var  mesh,
GEOM::GEOM_Object_var  mainShape 
)

References myGen, myMainShape, myMesh, and myResult.

Member Function Documentation

◆ cancel()

void SMESHGUI_ComputeDlg_QThread::cancel ( )

◆ getMesh()

SMESH::SMESH_Mesh_var& SMESHGUI_ComputeDlg_QThread::getMesh ( )

◆ result()

bool SMESHGUI_ComputeDlg_QThread::result ( )

◆ run()

void SMESHGUI_ComputeDlg_QThread::run ( )
protected

References myGen, myMainShape, myMesh, and myResult.

Field Documentation

◆ myGen

SMESH::SMESH_Gen_var SMESHGUI_ComputeDlg_QThread::myGen
private

◆ myMainShape

GEOM::GEOM_Object_var SMESHGUI_ComputeDlg_QThread::myMainShape
private

◆ myMesh

SMESH::SMESH_Mesh_var SMESHGUI_ComputeDlg_QThread::myMesh
private

◆ myResult

bool SMESHGUI_ComputeDlg_QThread::myResult
private