Salome HOME
Fix for the bug #255: VTK viewer is not updated after modification of objects.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_PolylineOp.h
index c7fbe6582b5fb85a72146f3a77ab8425692cae9d..2192aa5fe4df7aa955b62f43dcd8efde547b9b34 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
 {
@@ -59,12 +58,11 @@ private:
   void                       erasePreview();
 
 private:
-  OCCViewer_ViewManager*     myViewManager;
+  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