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
Merge remote-tracking branch 'origin/master' into BR_LAND_COVER_MAP
[modules/hydro.git]
/
src
/
HYDROData
/
HYDROData_ImmersibleZone.cxx
diff --git
a/src/HYDROData/HYDROData_ImmersibleZone.cxx
b/src/HYDROData/HYDROData_ImmersibleZone.cxx
index 6a90bfffeb80e7f1f37fded85d81fcb37d7d2eb2..f3c5467998e8856aab51eec0e77e7d4231fda73e 100644
(file)
--- a/
src/HYDROData/HYDROData_ImmersibleZone.cxx
+++ b/
src/HYDROData/HYDROData_ImmersibleZone.cxx
@@
-49,7
+49,7
@@
IMPLEMENT_STANDARD_RTTIEXT(HYDROData_ImmersibleZone,HYDROData_NaturalObject)
HYDROData_ImmersibleZone::HYDROData_ImmersibleZone()
HYDROData_ImmersibleZone::HYDROData_ImmersibleZone()
-: HYDROData_NaturalObject()
+: HYDROData_NaturalObject(
Geom_2d
)
{
}
{
}
@@
-234,33
+234,23
@@
TopoDS_Shape HYDROData_ImmersibleZone::GetShape3D() const
return GetTopShape();
}
return GetTopShape();
}
-QColor HYDROData_ImmersibleZone::DefaultFillingColor()
+QColor HYDROData_ImmersibleZone::DefaultFillingColor()
const
{
return QColor( Qt::darkBlue );
}
{
return QColor( Qt::darkBlue );
}
-QColor HYDROData_ImmersibleZone::DefaultBorderColor()
+QColor HYDROData_ImmersibleZone::DefaultBorderColor()
const
{
return QColor( Qt::transparent );
}
{
return QColor( Qt::transparent );
}
-QColor HYDROData_ImmersibleZone::getDefaultFillingColor() const
-{
- return DefaultFillingColor();
-}
-
-QColor HYDROData_ImmersibleZone::getDefaultBorderColor() const
-{
- return DefaultBorderColor();
-}
-
void HYDROData_ImmersibleZone::SetPolyline( const Handle(HYDROData_PolylineXY)& thePolyline )
{
if( IsEqual( GetPolyline(), thePolyline ) )
return;
SetReferenceObject( thePolyline, DataTag_Polyline );
void HYDROData_ImmersibleZone::SetPolyline( const Handle(HYDROData_PolylineXY)& thePolyline )
{
if( IsEqual( GetPolyline(), thePolyline ) )
return;
SetReferenceObject( thePolyline, DataTag_Polyline );
-
SetToUpdate( true
);
+
Changed( Geom_2d
);
}
Handle(HYDROData_PolylineXY) HYDROData_ImmersibleZone::GetPolyline() const
}
Handle(HYDROData_PolylineXY) HYDROData_ImmersibleZone::GetPolyline() const
@@
-272,7
+262,5
@@
Handle(HYDROData_PolylineXY) HYDROData_ImmersibleZone::GetPolyline() const
void HYDROData_ImmersibleZone::RemovePolyline()
{
ClearReferenceObjects( DataTag_Polyline );
void HYDROData_ImmersibleZone::RemovePolyline()
{
ClearReferenceObjects( DataTag_Polyline );
-
SetToUpdate( true
);
+
Changed( Geom_2d
);
}
}
-
-