X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FAdvancedGUI%2FAdvancedGUI_SmoothingSurfaceDlg.h;h=7282019756faa6d9185cfe717ec28c49766a7170;hb=d617faae6bc5aeb91b63796618a20c7c13037b6c;hp=1d84d830e91f96be9d63a074ef4676f25eac6fdb;hpb=80be2e8daa53ff409af646490cffd27bb13716ae;p=modules%2Fgeom.git diff --git a/src/AdvancedGUI/AdvancedGUI_SmoothingSurfaceDlg.h b/src/AdvancedGUI/AdvancedGUI_SmoothingSurfaceDlg.h index 1d84d830e..728201975 100644 --- a/src/AdvancedGUI/AdvancedGUI_SmoothingSurfaceDlg.h +++ b/src/AdvancedGUI/AdvancedGUI_SmoothingSurfaceDlg.h @@ -1,23 +1,21 @@ -// Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2013-2023 CEA, EDF, 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, or (at your option) any later version. // -// 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. +// 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. // -// 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. +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// 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 ADVANCEDGUI_SMOOTHINGSURFACEDLG_H #define ADVANCEDGUI_SMOOTHINGSURFACEDLG_H @@ -28,6 +26,7 @@ #include class DlgRef_1Sel; +class SalomeApp_IntSpinBox; //================================================================================= // class : AdvancedGUI_SmoothingSurfaceDlg @@ -46,15 +45,20 @@ protected: virtual GEOM::GEOM_IOperations_ptr createOperation(); virtual bool isValid( QString& ); virtual bool execute( ObjectList& ); + virtual void addSubshapesToStudy(); + virtual QList getSourceObjects(); private: void Init(); void enterEvent( QEvent* ); - void synchronize( QList& left, QList& right ); + int getNbPoints() const; private: DlgRef_1Sel* GroupPoints; QList myPoints; + SalomeApp_IntSpinBox *myNbMaxSpin; + SalomeApp_IntSpinBox *myDegMaxSpin; + SalomeApp_DoubleSpinBox *myDMaxSpin; private slots: void ClickOnOk();