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
refs #430: incorrect coordinates in dump polyline
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_PrsZoneDriver.cxx
diff --git
a/src/HYDROGUI/HYDROGUI_PrsZoneDriver.cxx
b/src/HYDROGUI/HYDROGUI_PrsZoneDriver.cxx
index 5edfaa1d605e37385440a8d6cbc600003944e2c8..ef2e4e2659aad65f5b8df994600f4faf8217ca36 100644
(file)
--- a/
src/HYDROGUI/HYDROGUI_PrsZoneDriver.cxx
+++ b/
src/HYDROGUI/HYDROGUI_PrsZoneDriver.cxx
@@
-24,7
+24,7
@@
#include "HYDROGUI_PrsZone.h"
#include "HYDROGUI_PrsZone.h"
-#include <HYDROData_Zone.h>
+#include <HYDROData_
Immersible
Zone.h>
HYDROGUI_PrsZoneDriver::HYDROGUI_PrsZoneDriver()
:HYDROGUI_PrsDriver()
HYDROGUI_PrsZoneDriver::HYDROGUI_PrsZoneDriver()
:HYDROGUI_PrsDriver()
@@
-35,7
+35,7
@@
HYDROGUI_PrsZoneDriver::~HYDROGUI_PrsZoneDriver()
{
}
{
}
-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 );
HYDROGUI_Prs*& thePrs )
{
HYDROGUI_PrsDriver::Update( theObj, thePrs );
@@
-43,7
+43,8
@@
bool HYDROGUI_PrsZoneDriver::Update( const Handle(HYDROData_Object)& theObj,
if ( theObj.IsNull() )
return false;
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;
if ( aZone.IsNull() )
return false;
@@
-57,7
+58,8
@@
bool HYDROGUI_PrsZoneDriver::Update( const Handle(HYDROData_Object)& theObj,
aPrsZone->setFillingColor( aZone->GetFillingColor() );
aPrsZone->setBorderColor( aZone->GetBorderColor() );
aPrsZone->setFillingColor( aZone->GetFillingColor() );
aPrsZone->setBorderColor( aZone->GetBorderColor() );
- aPrsZone->setPath( aZone->GetPainterPath() );
+ // ouv: the method is no more
+ //aPrsZone->setPath( aZone->GetPainterPath() );
aPrsZone->compute();
aPrsZone->compute();