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();
78 virtual void stopOperation();
82 void showComputeResult(
const bool,
84 SMESH::compute_error_array_var&,
92 SMESH::compute_error_array_var&,
96 virtual bool isValid( SUIT_Operation* theOp )
const;
100 void onPreviewShape();
101 void onPublishShape();
102 void onShowBadMesh();
103 void onGroupOfBadMesh();
104 void currentCellChanged();
118 Handle(SALOME_InteractiveObject) myIObject;
158 static void getAssignedAlgos(
_PTR(
SObject) theMesh,
159 QMap<int,int>& theModeMap);
162 virtual void startOperation();
163 virtual void stopOperation();
164 virtual void resumeOperation();
166 virtual void initDialog();
169 virtual void onCancel();
179 QPointer<SMESHGUI_PrecomputeDlg>
myDlg;
202 virtual void startOperation();
255 void setPreviewModes(
const QList<int>& );
256 int getPreviewMode()
const;
279 SMESH::SMESH_Mesh_var mesh,
280 GEOM::GEOM_Object_var mainShape);
283 SMESH::SMESH_Mesh_var&
getMesh() {
return myMesh; }
305 SMESH::SMESH_Gen_var gen,
306 SMESH::SMESH_Mesh_var mesh,
307 GEOM::GEOM_Object_var mainShape);
311 void timerEvent(QTimerEvent *timer);
312 void closeEvent(QCloseEvent *event);
326 #endif // SMESHGUI_COMPUTEDLG_H