Salome HOME
patch for crash in channel
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_PolylineOp.h
index c7fbe6582b5fb85a72146f3a77ab8425692cae9d..d79d582dff2cd5f89f3b416494f20a39bf7262d5 100755 (executable)
 
 #include "HYDROGUI_Operation.h"
 
-#include <HYDROData_Polyline.h>
+#include <HYDROData_PolylineXY.h>
 
-class OCCViewer_ViewManager;
 class CurveCreator_Curve;
-class CurveCreator_Displayer;
 
 class HYDROGUI_PolylineOp : public HYDROGUI_Operation
 {
@@ -42,6 +40,8 @@ public:
   void                       deleteSelected();
   bool                       deleteEnabled();
 
+  virtual void               updatePreviewZLayer( int theLayer );
+
 protected:
   virtual void               startOperation();
   virtual void               abortOperation();
@@ -59,12 +59,9 @@ private:
   void                       erasePreview();
 
 private:
-  OCCViewer_ViewManager*     myViewManager;
-
-  bool                       myIsEdit;
-  Handle(HYDROData_Polyline) myEditedObject;
-  CurveCreator_Curve*        myCurve;
-  CurveCreator_Displayer*     myCurveDisplayer;
+  bool                         myIsEdit;
+  Handle(HYDROData_PolylineXY) myEditedObject;
+  CurveCreator_Curve*          myCurve;
 };
 
 #endif