23#ifndef SMESHGUI_COMPUTEDLG_H
24#define SMESHGUI_COMPUTEDLG_H
33#include <SALOME_InteractiveObject.hxx>
43#include <SALOMEconfig.h>
44#include CORBA_SERVER_HEADER(SMESH_Gen)
45#include CORBA_SERVER_HEADER(SMESH_Mesh)
60 class TShapeDisplayer;
74 SMESH::SMESH_Mesh_ptr
getMesh();
79 virtual void stopOperation();
83 void showComputeResult(
const bool,
85 SMESH::compute_error_array_var&,
93 SMESH::compute_error_array_var&,
97 virtual bool isValid( SUIT_Operation* theOp )
const;
102 void onPreviewShape();
103 void onPublishShape();
104 void onShowBadMesh();
105 void onGroupOfBadMesh();
106 void currentCellChanged();
120 Handle(SALOME_InteractiveObject) myIObject;
160 static void getAssignedAlgos(
_PTR(SObject) theMesh,
161 QMap<int,int>& theModeMap);
165 virtual void stopOperation();
166 virtual void resumeOperation();
181 QPointer<SMESHGUI_PrecomputeDlg>
myDlg;
272 void setPreviewModes(
const QList<int>& );
273 int getPreviewMode()
const;
296 SMESH::SMESH_Mesh_var mesh,
297 GEOM::GEOM_Object_var mainShape);
300 SMESH::SMESH_Mesh_var&
getMesh() {
return myMesh; }
322 SMESH::SMESH_Gen_var gen,
323 SMESH::SMESH_Mesh_var mesh,
324 GEOM::GEOM_Object_var mainShape);
328 void timerEvent(QTimerEvent *timer);
329 void closeEvent(QCloseEvent *event);
static SMESHDS_Mesh * getMesh(SMESH::SMESH_IDSource_ptr theSource)
Definition: SMESH_Measurements_i.cxx:146
#define SMESHGUI_EXPORT
Definition: SMESH_SMESHGUI.hxx:36
Base operation to compute a mesh and show computation errors.
Definition: SMESHGUI_ComputeDlg.h:67
SMESHGUI_MeshEditPreview * myBadMeshDisplayer
Definition: SMESHGUI_ComputeDlg.h:119
SMESH::TShapeDisplayer * myTShapeDisplayer
Definition: SMESHGUI_ComputeDlg.h:118
QPointer< SMESHGUI_ComputeDlg > myCompDlg
Definition: SMESHGUI_ComputeDlg.h:112
GEOM::GEOM_Object_var myCurShape
Definition: SMESHGUI_ComputeDlg.h:117
SMESH::SMESH_Mesh_var myMesh
Definition: SMESHGUI_ComputeDlg.h:115
Handle(SALOME_InteractiveObject) myIObject
GEOM::GEOM_Object_var myMainShape
Definition: SMESHGUI_ComputeDlg.h:116
Dialog to display Cancel button.
Definition: SMESHGUI_ComputeDlg.h:317
QLabel * nbNodesLabel
Definition: SMESHGUI_ComputeDlg.h:337
QLabel * nbElemsLabel
Definition: SMESHGUI_ComputeDlg.h:338
QProgressBar * progressBar
Definition: SMESHGUI_ComputeDlg.h:340
SMESHGUI_ComputeDlg_QThread qthread
Definition: SMESHGUI_ComputeDlg.h:335
QPushButton * cancelButton
Definition: SMESHGUI_ComputeDlg.h:336
QLabel * freeRAMLabel
Definition: SMESHGUI_ComputeDlg.h:339
Thread to launch computation.
Definition: SMESHGUI_ComputeDlg.h:291
GEOM::GEOM_Object_var myMainShape
Definition: SMESHGUI_ComputeDlg.h:308
SMESH::SMESH_Gen_var myGen
Definition: SMESHGUI_ComputeDlg.h:306
bool myResult
Definition: SMESHGUI_ComputeDlg.h:309
SMESH::SMESH_Mesh_var myMesh
Definition: SMESHGUI_ComputeDlg.h:307
SMESH::SMESH_Mesh_var & getMesh()
Definition: SMESHGUI_ComputeDlg.h:300
Dialog to compute a mesh and show computation errors.
Definition: SMESHGUI_ComputeDlg.h:228
QPushButton * myBadMeshToGroupBtn
Definition: SMESHGUI_ComputeDlg.h:248
QPushButton * myPublishBtn
Definition: SMESHGUI_ComputeDlg.h:246
QLabel * myHypErrorLabel
Definition: SMESHGUI_ComputeDlg.h:242
QLabel * myWarningLabel
Definition: SMESHGUI_ComputeDlg.h:243
SMESHGUI_MeshInfosBox * myFullInfo
Definition: SMESHGUI_ComputeDlg.h:251
QGroupBox * myMemoryLackGroup
Definition: SMESHGUI_ComputeDlg.h:239
QTableWidget * myTable
Definition: SMESHGUI_ComputeDlg.h:244
QPushButton * myShowBtn
Definition: SMESHGUI_ComputeDlg.h:245
QGroupBox * myHypErrorGroup
Definition: SMESHGUI_ComputeDlg.h:241
QPushButton * myBadMeshBtn
Definition: SMESHGUI_ComputeDlg.h:247
SMESHGUI_MeshInfosBox * myBriefInfo
Definition: SMESHGUI_ComputeDlg.h:250
QGroupBox * myCompErrorGroup
Definition: SMESHGUI_ComputeDlg.h:240
QLabel * myMeshName
Definition: SMESHGUI_ComputeDlg.h:238
Operation to compute a mesh and show computation errors.
Definition: SMESHGUI_ComputeDlg.h:127
Definition: SMESHGUI_Dialog.h:44
Operation to evaluate a mesh and show result.
Definition: SMESHGUI_ComputeDlg.h:194
Displayer of the mesh edition preview.
Definition: SMESHGUI_MeshEditPreview.h:47
Box showing mesh info.
Definition: SMESHGUI_MeshInfosBox.h:43
Reusable widget that shows and allows modify meshing order.
Definition: SMESHGUI_MeshOrderDlg.h:49
Operator to check and modify mesh computation submesh priority (order)
Definition: SMESHGUI_MeshOrderOp.h:42
Definition: SMESHGUI_Operation.h:47
virtual void initDialog()
sets the dialog widgets to state just after operation start
Definition: SMESHGUI_Operation.cxx:208
virtual bool isValid(SUIT_Operation *) const
Verifies whether given operator is valid for this one.
Definition: SMESHGUI_Operation.cxx:242
virtual void startOperation()
Definition: SMESHGUI_Operation.cxx:79
virtual void onCancel()
Definition: SMESHGUI_Operation.cxx:175
virtual bool onApply()
Definition: SMESHGUI_Operation.cxx:166
Dialog to preview and compute a mesh and show computation errors.
Definition: SMESHGUI_ComputeDlg.h:265
QtxComboBox * myPreviewMode
Definition: SMESHGUI_ComputeDlg.h:283
QPushButton * myPreviewBtn
Definition: SMESHGUI_ComputeDlg.h:282
SMESHGUI_MeshOrderBox * myOrderBox
Definition: SMESHGUI_ComputeDlg.h:281
Operation to preview and compute a mesh and show computation errors.
Definition: SMESHGUI_ComputeDlg.h:148
SMESHGUI_MeshOrderMgr * myOrderMgr
Definition: SMESHGUI_ComputeDlg.h:187
QPointer< SMESHGUI_PrecomputeDlg > myDlg
Definition: SMESHGUI_ComputeDlg.h:181
QMap< int, int > myMapShapeId
private fields
Definition: SMESHGUI_ComputeDlg.h:179
TListOfListOfInt myPrevOrder
Definition: SMESHGUI_ComputeDlg.h:186
QPointer< LightApp_Dialog > myActiveDlg
Definition: SMESHGUI_ComputeDlg.h:180
QList< TListOfInt > TListOfListOfInt
Definition: SMESHGUI_ComputeDlg.h:185
QList< int > TListOfInt
fields for mesh order
Definition: SMESHGUI_ComputeDlg.h:184
SMESHGUI_MeshEditPreview * myPreviewDisplayer
Definition: SMESHGUI_ComputeDlg.h:182
Operation to show meshing errors.
Definition: SMESHGUI_ComputeDlg.h:213
Class showing shapes without publishing.
Definition: SMESHGUI_ComputeDlg.cxx:146
Definition: SMESH_ControlsClassifier.cxx:39
_PTR(SObject) getSubShapeSO(int subShapeID
Return SO of a sub-shape.
Definition: SMESHGUI_Utils.cxx:122
sequence< smIdType > smIdType_array
Definition: SMESH_Mesh.idl:45