Salome HOME
Update copyright information
[modules/filter.git] / src / FILTERGUI / SelectParams.h
index 51a3d62c6f82623b6a27f41a3a76f7d08e152ba6..e23ace2715d6ca42a92635087a1db5b74ef69489 100644 (file)
@@ -1,29 +1,25 @@
-// Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+//  Copyright (C) 2007-2008  CEA/DEN, EDF R&D
 //
-// 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 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 SELECTPARAMS_HEADER
 #define SELECTPARAMS_HEADER
 
 #include "utilities.h"
-#include "MEDMEM_Med.hxx"
-#include "MEDMEM_Meshing.hxx"
 
 #include "SelectField.h"
 #include <qwt_plot.h>
@@ -33,7 +29,6 @@
 #include <qdialog.h>
 
 #include <SALOMEconfig.h>
-/* #include CORBA_CLIENT_HEADER(MED_Gen) */
 
 class QLineEdit;
 class QLabel;
@@ -64,11 +59,6 @@ protected:
   virtual void     displayFThresh();
   virtual void     displaySThresh();
   virtual void     enableWidgets();
-  virtual void     generateCriteria() throw(SALOME_Exception);
-  virtual void     projectFields();
-  virtual void     readMapping();
-  virtual int      getNodeNumber(int);
-  virtual int      getNeighbourVertex(int) throw(SALOME_Exception) ;
 
 protected slots:
   virtual void     gradSelected();
@@ -92,11 +82,6 @@ private:
   double _fthresh, _sthresh;
   double *_x, *_y;
   double _xft[100], _yft[100], _xst[100], _yst[100];
-  int _nbvmap;
-  int *_map;
-  int _connL;
-  const int *_conn;
-  const int *_connI;
 
   QLineEdit *_myLESH, *_myFThresh, *_myExpr, *_myLEST, *_myLEFT, *_myOFN;
   QButtonGroup *_myHSize, *_myFunc, *_myFScale, *_myNbThresh, *_myArea, *_myVThresh, *_myOutFile;
@@ -111,12 +96,7 @@ private:
   QString _inputFile, _inputMesh, _inputField;
   int _inputTS;
   SelectField *_sel;
-  ::MEDMEM::MED *_med, *_newMed;
-  MESH* _mesh, *_newMesh;
-  FIELD<double> * _myGradient;
-  FIELD<double> * _myDField;
-  FIELD<int> * _myIField;
-  FIELD<int> *_criteria;
+  SALOME_FILTER::FILTER_Gen_ptr _filter;
 };
 
 #endif