X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROCurveCreator%2FCurveCreator_Displayer.cxx;h=f0c5463d8e32d348eb19a10ee6ccdfe3493e0470;hb=8edd427af3997521bda72ca3c416cc1d490565d5;hp=92df32341fd1c5c7a3a2ef54cf816dc25fc2863d;hpb=8a464e12ecf0be7b04e99307b7adb2207b470cb5;p=modules%2Fhydro.git diff --git a/src/HYDROCurveCreator/CurveCreator_Displayer.cxx b/src/HYDROCurveCreator/CurveCreator_Displayer.cxx index 92df3234..f0c5463d 100644 --- a/src/HYDROCurveCreator/CurveCreator_Displayer.cxx +++ b/src/HYDROCurveCreator/CurveCreator_Displayer.cxx @@ -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 ){