Salome HOME
OCC functionality moving out from the widget
[modules/hydro.git] / src / HYDROCurveCreator / CurveCreator_Displayer.cxx
index 92df32341fd1c5c7a3a2ef54cf816dc25fc2863d..f0c5463d8e32d348eb19a10ee6ccdfe3493e0470 100644 (file)
@@ -38,6 +38,22 @@ void CurveCreator_Displayer::erase( bool isUpdate )
     myContext->UpdateCurrentViewer();
 }
 
+void CurveCreator_Displayer::displayAIS( Handle(AIS_InteractiveObject) theObject, bool isUpdate )
+{
+  myContext->Display( theObject, Standard_False );
+
+  if( isUpdate )
+    myContext->UpdateCurrentViewer();
+}
+
+void CurveCreator_Displayer::redisplayAIS( Handle(AIS_InteractiveObject) theObject, bool isUpdate )
+{
+  myContext->Redisplay( theObject, Standard_False );
+
+  if( isUpdate )
+    myContext->UpdateCurrentViewer();
+}
+
 Quantity_Color CurveCreator_Displayer::getActiveColor( bool isHL )
 {
   if( isHL ){