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
22222: [CEA 820] GHS3D in salome 7.2.0 ten times slower than in salome 6.6.0
[modules/smesh.git]
/
src
/
StdMeshersGUI
/
StdMeshersGUI_DistrPreview.h
diff --git
a/src/StdMeshersGUI/StdMeshersGUI_DistrPreview.h
b/src/StdMeshersGUI/StdMeshersGUI_DistrPreview.h
index ef230ccb38a5b96303933cf943effd8066bb4da9..9659781adde3880df11c4861b628e3bcf9186584 100644
(file)
--- a/
src/StdMeshersGUI/StdMeshersGUI_DistrPreview.h
+++ b/
src/StdMeshersGUI/StdMeshersGUI_DistrPreview.h
@@
-1,4
+1,6
@@
-// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+// Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE
+//
+// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// This library is free software; you can redistribute it and/or
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// This library is free software; you can redistribute it and/or
@@
-6,7
+8,7
@@
// License as published by the Free Software Foundation; either
// version 2.1 of the License.
//
// License as published by the Free Software Foundation; either
// version 2.1 of the License.
//
-// This library is distributed in the hope that it will be useful
+// This library is distributed in the hope that it will be useful
,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
@@
-18,19
+20,31
@@
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
-#ifndef STD_MESHERS_GUI_DISTR_PREVIEW_HEADER
-#define STD_MESHERS_GUI_DISTR_PREVIEW_HEADER
+// File : StdMeshersGUI_DistrPreview.h
+// Author : Open CASCADE S.A.S.
+//
+#ifndef STDMESHERSGUI_DISTRPREVIEW_H
+#define STDMESHERSGUI_DISTRPREVIEW_H
+// SMESH includes
#include "SMESH_StdMeshersGUI.hxx"
#include "SMESH_StdMeshersGUI.hxx"
+// Qwt includes
#include <qwt_plot.h>
#include <qwt_plot.h>
+
+// IDL includes
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(SMESH_Mesh)
#include CORBA_SERVER_HEADER(SMESH_BasicHypothesis)
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(SMESH_Mesh)
#include CORBA_SERVER_HEADER(SMESH_BasicHypothesis)
+
+// OCCT includes
#include <ExprIntrp_GenExp.hxx>
#include <Expr_Array1OfNamedUnknown.hxx>
#include <TColStd_Array1OfReal.hxx>
#include <ExprIntrp_GenExp.hxx>
#include <Expr_Array1OfNamedUnknown.hxx>
#include <TColStd_Array1OfReal.hxx>
+class QwtPlotCurve;
+class QwtPlotMarker;
+
class STDMESHERSGUI_EXPORT StdMeshersGUI_DistrPreview : public QwtPlot
{
Q_OBJECT
class STDMESHERSGUI_EXPORT StdMeshersGUI_DistrPreview : public QwtPlot
{
Q_OBJECT
@@
-69,7
+83,9
@@
private:
bool myIsTable;
Conversion myConv;
SMESH::double_array myTableFunc;
bool myIsTable;
Conversion myConv;
SMESH::double_array myTableFunc;
- long myDensity, myDistr, myMsg;
+ QwtPlotCurve* myDensity;
+ QwtPlotCurve* myDistr;
+ QwtPlotMarker* myMsg;
Handle(ExprIntrp_GenExp) myExpr;
Expr_Array1OfNamedUnknown myVars;
TColStd_Array1OfReal myValues;
Handle(ExprIntrp_GenExp) myExpr;
Expr_Array1OfNamedUnknown myVars;
TColStd_Array1OfReal myValues;
@@
-77,4
+93,4
@@
private:
StdMeshers::StdMeshers_NumberOfSegments_var myHypo;
};
StdMeshers::StdMeshers_NumberOfSegments_var myHypo;
};
-#endif
+#endif
// STDMESHERSGUI_DISTRPREVIEW_H