Salome HOME
Fix for the bug #255: VTK viewer is not updated after modification of objects.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ProfileOp.h
index ac86f4c1394f45a56530b1dc82e415348f6eddda..dd5e2370a7ed754baedc71ece1a77933b6d01bca 100644 (file)
@@ -27,8 +27,7 @@
 
 #include <HYDROData_Profile.h>
 
-//class OCCViewer_ViewManager;
-class CurveCreator_Curve;
+class CurveCreator_Profile;
 
 class HYDROGUI_ProfileOp : public HYDROGUI_Operation
 {
@@ -50,19 +49,14 @@ protected:
 
   virtual bool               processApply( int& theUpdateFlags, QString& theErrorMsg );
 
-//protected slots:
-//  void                       onEditorSelectionChanged();
-
-//private:
-  //void                       displayPreview();
-  //void                       erasePreview();
-
 private:
-  //OCCViewer_ViewManager*     myViewManager;
+  void                       displayPreview();
+  void                       erasePreview();
 
+private:
   bool                       myIsEdit;
   Handle(HYDROData_Profile)  myEditedObject;
-  CurveCreator_Curve*        myCurve;
+  CurveCreator_Profile*      myProfile;
 };
 
 #endif