Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Image positioning by two points.
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_PolylineOp.h
diff --git
a/src/HYDROGUI/HYDROGUI_PolylineOp.h
b/src/HYDROGUI/HYDROGUI_PolylineOp.h
index 6ff93f05139866a7678a0bdde73329aef9263f3d..614960dfecb719eeae3c0bc93ac8cc77b5b8c3d7 100755
(executable)
--- a/
src/HYDROGUI/HYDROGUI_PolylineOp.h
+++ b/
src/HYDROGUI/HYDROGUI_PolylineOp.h
@@
-27,7
+27,9
@@
#include <HYDROData_Polyline.h>
#include <HYDROData_Polyline.h>
+class OCCViewer_ViewManager;
class CurveCreator_Curve;
class CurveCreator_Curve;
+class HYDROGUI_AISCurve;
class HYDROGUI_PolylineOp : public HYDROGUI_Operation
{
class HYDROGUI_PolylineOp : public HYDROGUI_Operation
{
@@
-38,16
+40,28
@@
public:
virtual ~HYDROGUI_PolylineOp();
protected:
virtual ~HYDROGUI_PolylineOp();
protected:
+ virtual void startOperation();
+ virtual void abortOperation();
+ virtual void commitOperation();
+
virtual HYDROGUI_InputPanel* createInputPanel() const;
virtual HYDROGUI_InputPanel* createInputPanel() const;
- virtual bool processApply( int& theUpdateFlags, QString& theErrorMsg );
+ virtual bool processApply( int& theUpdateFlags, QString& theErrorMsg );
+
+protected slots:
+ void onEditorSelectionChanged();
- virtual void startOperation();
+private:
+ void displayPreview();
+ void erasePreview();
private:
private:
+ OCCViewer_ViewManager* myViewManager;
+
bool myIsEdit;
Handle(HYDROData_Polyline) myEditedObject;
CurveCreator_Curve* myCurve;
bool myIsEdit;
Handle(HYDROData_Polyline) myEditedObject;
CurveCreator_Curve* myCurve;
+ HYDROGUI_AISCurve* myAISCurve;
};
#endif
};
#endif