#include "HYDROGUI_PrsZone.h"
-#include <HYDROData_Zone.h>
+#include <HYDROData_ImmersibleZone.h>
HYDROGUI_PrsZoneDriver::HYDROGUI_PrsZoneDriver()
:HYDROGUI_PrsDriver()
{
}
-bool HYDROGUI_PrsZoneDriver::Update( const Handle(HYDROData_Object)& theObj,
+bool HYDROGUI_PrsZoneDriver::Update( const Handle(HYDROData_Entity)& theObj,
HYDROGUI_Prs*& thePrs )
{
HYDROGUI_PrsDriver::Update( theObj, thePrs );
if ( theObj.IsNull() )
return false;
- Handle(HYDROData_Zone) aZone = Handle(HYDROData_Zone)::DownCast( theObj );
+ Handle(HYDROData_ImmersibleZone) aZone =
+ Handle(HYDROData_ImmersibleZone)::DownCast( theObj );
if ( aZone.IsNull() )
return false;
aPrsZone->setFillingColor( aZone->GetFillingColor() );
aPrsZone->setBorderColor( aZone->GetBorderColor() );
- aPrsZone->setPath( aZone->GetPainterPath() );
+ // ouv: the method is no more
+ //aPrsZone->setPath( aZone->GetPainterPath() );
aPrsZone->compute();