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
Initial merge of branch 'BR_HYDRO_IMPS_2016' into BR_PORTING_OCCT_7
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_VTKPrsShape.cxx
diff --git
a/src/HYDROGUI/HYDROGUI_VTKPrsShape.cxx
b/src/HYDROGUI/HYDROGUI_VTKPrsShape.cxx
index 1df604f57184288ec0a088e53628e1a9bac0d8e6..af8b9bf89502ebdaa90f3363c142c8ef10265665 100644
(file)
--- a/
src/HYDROGUI/HYDROGUI_VTKPrsShape.cxx
+++ b/
src/HYDROGUI/HYDROGUI_VTKPrsShape.cxx
@@
-1,8
+1,4
@@
-// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-//
-// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
+// Copyright (C) 2014-2015 EDF-R&D
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
@@
-190,14
+186,13
@@
void HYDROGUI_VTKPrsShape::buildShape()
else
{
// Generate the filling color for zone
else
{
// Generate the filling color for zone
- QStringList a
Geom
ObjectsNames;
+ QStringList a
n
ObjectsNames;
- HYDROData_SequenceOfObjects aRefObjects = aZone->Get
Geometry
Objects();
+ HYDROData_SequenceOfObjects aRefObjects = aZone->GetObjects();
HYDROData_SequenceOfObjects::Iterator anIter( aRefObjects );
for ( ; anIter.More(); anIter.Next() )
{
HYDROData_SequenceOfObjects::Iterator anIter( aRefObjects );
for ( ; anIter.More(); anIter.Next() )
{
- Handle(HYDROData_Object) aRefbject =
- Handle(HYDROData_Object)::DownCast( anIter.Value() );
+ Handle(HYDROData_Entity) aRefbject = anIter.Value();
if ( aRefbject.IsNull() )
continue;
if ( aRefbject.IsNull() )
continue;
@@
-205,7
+200,7
@@
void HYDROGUI_VTKPrsShape::buildShape()
if ( aRefObjectName.isEmpty() )
continue;
if ( aRefObjectName.isEmpty() )
continue;
- a
Geom
ObjectsNames.append( aRefObjectName );
+ a
n
ObjectsNames.append( aRefObjectName );
}
//setFillingColor( HYDROGUI_Tool::GenerateFillingColor( aDocument, aGeomObjectsNames ) );
}
//setFillingColor( HYDROGUI_Tool::GenerateFillingColor( aDocument, aGeomObjectsNames ) );