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_PrsPolylineDriver.cxx
diff --git
a/src/HYDROGUI/HYDROGUI_PrsPolylineDriver.cxx
b/src/HYDROGUI/HYDROGUI_PrsPolylineDriver.cxx
index da1481e816970dd4ace8dd14b31969c4d4a98725..d7304e9efbbd1ea8ee19b55534fd303df37b6a7a 100644
(file)
--- a/
src/HYDROGUI/HYDROGUI_PrsPolylineDriver.cxx
+++ b/
src/HYDROGUI/HYDROGUI_PrsPolylineDriver.cxx
@@
-24,7
+24,7
@@
#include "HYDROGUI_PrsPolyline.h"
#include "HYDROGUI_PrsPolyline.h"
-#include <HYDROData_Polyline.h>
+#include <HYDROData_Polyline
XY
.h>
HYDROGUI_PrsPolylineDriver::HYDROGUI_PrsPolylineDriver()
:HYDROGUI_PrsDriver()
HYDROGUI_PrsPolylineDriver::HYDROGUI_PrsPolylineDriver()
:HYDROGUI_PrsDriver()
@@
-35,7
+35,7
@@
HYDROGUI_PrsPolylineDriver::~HYDROGUI_PrsPolylineDriver()
{
}
{
}
-bool HYDROGUI_PrsPolylineDriver::Update( const Handle(HYDROData_
Object
)& theObj,
+bool HYDROGUI_PrsPolylineDriver::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,7
@@
bool HYDROGUI_PrsPolylineDriver::Update( const Handle(HYDROData_Object)& theObj,
if( theObj.IsNull() )
return false;
if( theObj.IsNull() )
return false;
- Handle(HYDROData_Polyline
) aPolyline = Handle(HYDROData_Polyline
)::DownCast( theObj );
+ Handle(HYDROData_Polyline
XY) aPolyline = Handle(HYDROData_PolylineXY
)::DownCast( theObj );
if( aPolyline.IsNull() )
return false;
if( aPolyline.IsNull() )
return false;
@@
-53,7
+53,7
@@
bool HYDROGUI_PrsPolylineDriver::Update( const Handle(HYDROData_Object)& theObj,
HYDROGUI_PrsPolyline* aPrsPolyline = (HYDROGUI_PrsPolyline*)thePrs;
aPrsPolyline->setName( aPolyline->GetName() );
HYDROGUI_PrsPolyline* aPrsPolyline = (HYDROGUI_PrsPolyline*)thePrs;
aPrsPolyline->setName( aPolyline->GetName() );
- aPrsPolyline->setPath( aPolyline->
painterPathLinear
() );
+ aPrsPolyline->setPath( aPolyline->
GetPainterPath
() );
aPrsPolyline->compute();
aPrsPolyline->compute();