Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
#19765 EDF 21730 - long time to load med file file with huge amount of groups
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_ComputeDlg.h
diff --git
a/src/SMESHGUI/SMESHGUI_ComputeDlg.h
b/src/SMESHGUI/SMESHGUI_ComputeDlg.h
index c01dad073f27301c0fbb49990f60beb425aa9242..c72fb097b33f2461454c21d804b32ea70e9bed31 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_ComputeDlg.h
+++ b/
src/SMESHGUI/SMESHGUI_ComputeDlg.h
@@
-1,9
+1,9
@@
-// Copyright (C) 2007-20
12
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-20
20
CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License
, or (at your option) any later version
.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
@@
-49,6
+49,7
@@
class QPushButton;
class QTableWidget;
class QLabel;
class QtxComboBox;
class QTableWidget;
class QLabel;
class QtxComboBox;
+class QProgressBar;
class SMESHGUI_ComputeDlg;
class SMESHGUI_MeshInfosBox;
class SMESHGUI_PrecomputeDlg;
class SMESHGUI_ComputeDlg;
class SMESHGUI_MeshInfosBox;
class SMESHGUI_PrecomputeDlg;
@@
-71,6
+72,7
@@
public:
virtual ~SMESHGUI_BaseComputeOp();
SMESH::SMESH_Mesh_ptr getMesh();
virtual ~SMESHGUI_BaseComputeOp();
SMESH::SMESH_Mesh_ptr getMesh();
+ virtual LightApp_Dialog* dlg() const;
protected:
virtual void startOperation();
protected:
virtual void startOperation();
@@
-99,6
+101,7
@@
protected slots:
void onPreviewShape();
void onPublishShape();
void onShowBadMesh();
void onPreviewShape();
void onPublishShape();
void onShowBadMesh();
+ void onGroupOfBadMesh();
void currentCellChanged();
private:
void currentCellChanged();
private:
@@
-110,6
+113,7
@@
private:
protected:
SMESH::SMESH_Mesh_var myMesh;
GEOM::GEOM_Object_var myMainShape;
protected:
SMESH::SMESH_Mesh_var myMesh;
GEOM::GEOM_Object_var myMainShape;
+ GEOM::GEOM_Object_var myCurShape;
SMESH::TShapeDisplayer* myTShapeDisplayer;
SMESHGUI_MeshEditPreview* myBadMeshDisplayer;
Handle(SALOME_InteractiveObject) myIObject;
SMESH::TShapeDisplayer* myTShapeDisplayer;
SMESHGUI_MeshEditPreview* myBadMeshDisplayer;
Handle(SALOME_InteractiveObject) myIObject;
@@
-201,6
+205,20
@@
protected:
protected slots:
};
protected slots:
};
+/*!
+ * \brief Operation to show meshing errors
+ */
+class SMESHGUI_EXPORT SMESHGUI_ShowErrorsOp: public SMESHGUI_BaseComputeOp
+{
+ Q_OBJECT
+
+public:
+ SMESHGUI_ShowErrorsOp();
+
+protected:
+ virtual void startOperation();
+};
+
/*!
* \brief Dialog to compute a mesh and show computation errors
*/
/*!
* \brief Dialog to compute a mesh and show computation errors
*/
@@
-226,12
+244,14
@@
protected:
QPushButton* myShowBtn;
QPushButton* myPublishBtn;
QPushButton* myBadMeshBtn;
QPushButton* myShowBtn;
QPushButton* myPublishBtn;
QPushButton* myBadMeshBtn;
+ QPushButton* myBadMeshToGroupBtn;
SMESHGUI_MeshInfosBox* myBriefInfo;
SMESHGUI_MeshInfosBox* myFullInfo;
friend class SMESHGUI_BaseComputeOp;
friend class SMESHGUI_PrecomputeOp;
SMESHGUI_MeshInfosBox* myBriefInfo;
SMESHGUI_MeshInfosBox* myFullInfo;
friend class SMESHGUI_BaseComputeOp;
friend class SMESHGUI_PrecomputeOp;
+ friend class SMESHGUI_ShowErrorsOp;
};
class SMESHGUI_MeshOrderBox;
};
class SMESHGUI_MeshOrderBox;
@@
-315,6
+335,8
@@
private:
QPushButton * cancelButton;
QLabel * nbNodesLabel;
QLabel * nbElemsLabel;
QPushButton * cancelButton;
QLabel * nbNodesLabel;
QLabel * nbElemsLabel;
+ QLabel * freeRAMLabel;
+ QProgressBar* progressBar;
};
#endif // SMESHGUI_COMPUTEDLG_H
};
#endif // SMESHGUI_COMPUTEDLG_H