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
Fix for the bug #255: VTK viewer is not updated after modification of objects.
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_PolylineOp.h
diff --git
a/src/HYDROGUI/HYDROGUI_PolylineOp.h
b/src/HYDROGUI/HYDROGUI_PolylineOp.h
index 78c97a5b9b7459d556ad701627693ba9cde56a7f..2192aa5fe4df7aa955b62f43dcd8efde547b9b34 100755
(executable)
--- a/
src/HYDROGUI/HYDROGUI_PolylineOp.h
+++ b/
src/HYDROGUI/HYDROGUI_PolylineOp.h
@@
-25,11
+25,10
@@
#include "HYDROGUI_Operation.h"
#include "HYDROGUI_Operation.h"
-#include <HYDROData_Polyline.h>
+#include <HYDROData_Polyline
XY
.h>
class OCCViewer_ViewManager;
class CurveCreator_Curve;
class OCCViewer_ViewManager;
class CurveCreator_Curve;
-class CurveCreator_Displayer;
class HYDROGUI_PolylineOp : public HYDROGUI_Operation
{
class HYDROGUI_PolylineOp : public HYDROGUI_Operation
{
@@
-39,6
+38,9
@@
public:
HYDROGUI_PolylineOp( HYDROGUI_Module* theModule, bool isEdit );
virtual ~HYDROGUI_PolylineOp();
HYDROGUI_PolylineOp( HYDROGUI_Module* theModule, bool isEdit );
virtual ~HYDROGUI_PolylineOp();
+ void deleteSelected();
+ bool deleteEnabled();
+
protected:
virtual void startOperation();
virtual void abortOperation();
protected:
virtual void startOperation();
virtual void abortOperation();
@@
-56,12
+58,11
@@
private:
void erasePreview();
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
};
#endif