Salome HOME
new version with output MED file creation
[modules/filter.git] / src / FILTERGUI / SelectParams.h
index d561ee6fffd6fdd8a6503123778cc310b95f295c..51a3d62c6f82623b6a27f41a3a76f7d08e152ba6 100644 (file)
@@ -65,6 +65,10 @@ protected:
   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();
@@ -77,12 +81,10 @@ protected slots:
   virtual void     enterSThresh();
   virtual void     moveThresh(const QMouseEvent &e);
   virtual void     getOutFileName();
-  virtual void     process();
+  virtual void     process() throw(SALOME_Exception);
   virtual void     ClickOnCancel();
   virtual void     ClickOnHelp();
 
-private:
-
 private:
   int _size;
   long _myHistoCurve, _myHistoFThresh, _myHistoSThresh;
@@ -90,6 +92,11 @@ 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;
@@ -104,8 +111,8 @@ private:
   QString _inputFile, _inputMesh, _inputField;
   int _inputTS;
   SelectField *_sel;
-  ::MEDMEM::MED *_med;
-  MESH* _mesh;
+  ::MEDMEM::MED *_med, *_newMed;
+  MESH* _mesh, *_newMesh;
   FIELD<double> * _myGradient;
   FIELD<double> * _myDField;
   FIELD<int> * _myIField;