Salome HOME
refs #1830: Progress dialog for the interpolation of bathymetry.
[modules/hydro.git] / src / HYDROData / HYDROData_Tool.h
index 2b0ebf0f70b72d4abcce5f61d3598d17ee964803..0047995a169da453dbf1672a338f20375ea8da49 100755 (executable)
@@ -37,6 +37,7 @@ class gp_XY;
 class QColor;
 class QFile;
 class TCollection_ExtendedString;
+
 #ifdef WIN32
   enum TopAbs_State;
 #else
@@ -51,6 +52,14 @@ class QColor;
 
 class HYDRODATA_EXPORT HYDROData_Tool {
 
+public:
+  enum ExecStatus
+  {
+    None,
+    Running,
+    Finished
+  };
+
 public:
 
   static void                           WriteStringsToFile( QFile&             theFile,
@@ -148,8 +157,16 @@ public:
   static void SetSIProgress(const Handle(Message_ProgressIndicator)& thePI);
   static const Handle(Message_ProgressIndicator)& GetSIProgress();
 
+  static void SetZIProgress(const Handle(Message_ProgressIndicator)& thePI);
+  static const Handle(Message_ProgressIndicator)& GetZIProgress();
+
+  static void SetTriangulationStatus(const ExecStatus& theStatus);
+  static const ExecStatus& GetTriangulationStatus();
+
 private:
   static Handle(Message_ProgressIndicator)& StricklerInterpolationProgress();
+  static Handle(Message_ProgressIndicator)& BathymetryInterpolationProgress();
+  static ExecStatus myTriangulationStatus;
 };
 
 inline bool ValuesEquals( const double& theFirst, const double& theSecond )