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
tests configuration for Linux and YAMM
[modules/hydro.git]
/
src
/
HYDRO_tests
/
test_HYDROData_DTM.cxx
diff --git
a/src/HYDRO_tests/test_HYDROData_DTM.cxx
b/src/HYDRO_tests/test_HYDROData_DTM.cxx
index d433872248c39cf96cbb268c618ba61b5e856ef6..9c06cc7e1fa22078972f99e30f6d2337a0d91427 100644
(file)
--- a/
src/HYDRO_tests/test_HYDROData_DTM.cxx
+++ b/
src/HYDRO_tests/test_HYDROData_DTM.cxx
@@
-48,7
+48,7
@@
class DTM_item : public QGraphicsItem
public:
DTM_item( HYDROGUI_ShapeBathymetry* theDTM, double d )
{
public:
DTM_item( HYDROGUI_ShapeBathymetry* theDTM, double d )
{
- Handle(AIS_PointCloud) pc = Handle(AIS_PointCloud)::DownCast( theDTM->getAISObject
()
);
+ Handle(AIS_PointCloud) pc = Handle(AIS_PointCloud)::DownCast( theDTM->getAISObject
s()[0]
);
Handle(Graphic3d_ArrayOfPoints) pp = pc->GetPoints();
myBB = QRectF();
double xmin, xmax, ymin, ymax;
Handle(Graphic3d_ArrayOfPoints) pp = pc->GetPoints();
myBB = QRectF();
double xmin, xmax, ymin, ymax;