Salome HOME
Channel and digue objects creation improved to do not use the transaction during...
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_TranslateObstacleOp.h
index 5d21e04742ebd74fc061faacd397e5c173045dd7..d2fa5e683f40d2af219e85c50533e3845a411e2b 100644 (file)
@@ -48,6 +48,8 @@ protected:
 
   virtual bool                 processApply( int& theUpdateFlags, QString& theErrorMsg );
 
+  virtual HYDROGUI_Shape*   getPreviewShape() const { return myPreviewPrs; };
+
 private slots:
   void                         onArgumentsChanged();
 
@@ -55,8 +57,6 @@ private:
   void                         createPreview();
   void                         erasePreview();
 
-  TopoDS_Shape                 getTranslatedShape() const;
-
 private:
   Handle(HYDROData_Obstacle)   myEditedObject;