-// Copyright (C) 2007-2020 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2021 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
virtual ~SMESHGUI_BaseComputeOp();
SMESH::SMESH_Mesh_ptr getMesh();
+ virtual LightApp_Dialog* dlg() const;
protected:
virtual void startOperation();
const QString& );
SMESHGUI_ComputeDlg* evaluateDlg() const;
void evaluateMesh();
- void showEvaluateResult(const SMESH::long_array& theRes,
+ void showEvaluateResult(const SMESH::smIdType_array& theRes,
const bool,
const bool,
SMESH::compute_error_array_var&,
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
*/
friend class SMESHGUI_BaseComputeOp;
friend class SMESHGUI_PrecomputeOp;
+ friend class SMESHGUI_ShowErrorsOp;
};
class SMESHGUI_MeshOrderBox;