Salome HOME
Dump Image data to python script (Feature #13).
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_PolylineOp.h
index d337760364507648d58021db0ba39a454e69aeb9..2502c970b541aad060833c3341893697e0da45a7 100755 (executable)
 
 #include <HYDROData_Polyline.h>
 
+class CurveCreator_Curve;
+class SUIT_ViewManager;
+class OCCViewer_ViewManager;
+class HYDROGUI_AISCurve;
+
 class HYDROGUI_PolylineOp : public HYDROGUI_Operation
 {
   Q_OBJECT
@@ -38,13 +43,24 @@ public:
 protected:
   virtual HYDROGUI_InputPanel* createInputPanel() const;
 
-  virtual bool processApply( int& theUpdateFlags );
+  virtual bool processApply( int& theUpdateFlags, QString& theErrorMsg );
 
   virtual void startOperation();
+  
+  void onCreatePreview();
+
+protected slots:
+  void onEditorSelectionChanged();
 
 private:
+  SUIT_ViewManager*           myActiveViewManager;
+
+  OCCViewer_ViewManager*      myPreviewViewManager;
+
   bool                       myIsEdit;
   Handle(HYDROData_Polyline) myEditedObject;
+  CurveCreator_Curve*        myCurve;
+  HYDROGUI_AISCurve*         myAISCurve;
 };
 
 #endif