X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FStdMeshersGUI%2FStdMeshersGUI_DistrPreview.h;h=f6af963714d44aaf27cd5ac6192af0f735477fc2;hp=b1401ba862a572ba4a223ce49f4317f480d37ec4;hb=b2eb2c3cef7c6fffbcc17e027be5e4d0357a935a;hpb=c63ee099ad2b149bd70136839c973e8910137bc5 diff --git a/src/StdMeshersGUI/StdMeshersGUI_DistrPreview.h b/src/StdMeshersGUI/StdMeshersGUI_DistrPreview.h index b1401ba86..f6af96371 100644 --- a/src/StdMeshersGUI/StdMeshersGUI_DistrPreview.h +++ b/src/StdMeshersGUI/StdMeshersGUI_DistrPreview.h @@ -1,12 +1,14 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, +// Copyright (C) 2007-2016 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 // 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 +// 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. @@ -18,18 +20,32 @@ // 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" +// Qwt includes #include + +// IDL includes #include #include CORBA_SERVER_HEADER(SMESH_Mesh) #include CORBA_SERVER_HEADER(SMESH_BasicHypothesis) + +// OCCT includes #include #include #include -class StdMeshersGUI_DistrPreview : public QwtPlot +class QwtPlotCurve; +class QwtPlotMarker; + +class STDMESHERSGUI_EXPORT StdMeshersGUI_DistrPreview : public QwtPlot { Q_OBJECT @@ -67,7 +83,9 @@ private: 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; @@ -75,4 +93,4 @@ private: StdMeshers::StdMeshers_NumberOfSegments_var myHypo; }; -#endif +#endif // STDMESHERSGUI_DISTRPREVIEW_H