Salome HOME
size of image is limited by 7000 pixels
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_BathymetryOp.h
index 7855f84f6658c89a00aeedef0c08a0be15a9414a..2aad488b4ffed43aa6b263774f4e9e381db2a5c8 100644 (file)
 #define HYDROGUI_BATHYMETRY_OP_H
 
 #include <HYDROGUI_Operation.h>
+#include <QDialog>
+
+class OCCViewer_ViewWindow;
+class QtxDoubleSpinBox;
 
 class HYDROGUI_BathymetryOp : public HYDROGUI_Operation
 {
@@ -32,10 +36,31 @@ public:
 
 protected:
   virtual void startOperation();
+  virtual void commitOperation();
   virtual void abortOperation();
 
+  void activate( bool );
+  OCCViewer_ViewWindow* activeViewWindow() const;
+
 private:
   int myMode;
+  bool myIsActivate;
+};
+
+
+class HYDROGUI_BathymetryLimitsDlg : public QDialog
+{
+public:
+  HYDROGUI_BathymetryLimitsDlg( QWidget* theParent );
+  virtual ~HYDROGUI_BathymetryLimitsDlg();
+
+  double GetMin() const;
+  double GetMax() const;
+  void SetMinMax( double, double );
+
+private:
+  QtxDoubleSpinBox* myMin;
+  QtxDoubleSpinBox* myMax;
 };
 
 #endif