Salome HOME
OCC functionality moving out from the widget
[modules/hydro.git] / src / HYDROCurveCreator / CurveCreator_Displayer.h
index 58f667bbf95564bf59ad9554231d89f3b6017bfc..fcd280569eaefe2b4dd4cd9872905b80ab903d9c 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef CURVECREATOR_AIS_CURVE_H
-#define CURVECREATOR_AIS_CURVE_H
+#ifndef CURVECREATOR_DISPLAYER_H
+#define CURVECREATOR_DISPLAYER_H
 
 #include "CurveCreator_Macro.hxx"
 
@@ -16,10 +16,15 @@ public:
   CurveCreator_Displayer(Handle_AIS_InteractiveContext theContext );
   ~CurveCreator_Displayer(void);
 
-  void display( AISObjectsList theCurveObjects );
-  void erase();
+  Handle_AIS_InteractiveContext getAISContext() { return myContext; }
+
+  void display( AISObjectsList theCurveObjects, bool isUpdate );
+  void erase( bool isUpdate );
   void highlight( const AISObjectsList& theObjects, bool isHL );
 
+  void displayAIS( Handle_AIS_InteractiveObject theObject, bool isUpdate );
+  void redisplayAIS( Handle_AIS_InteractiveObject theObject, bool isUpdate );
+
 protected:
   Quantity_Color getActiveColor( bool isHL );