}
TopoDS_Shape HYDROData_ImmersibleZone::GetTopShape() const
+{
+ return getTopShape();
+}
+
+void HYDROData_ImmersibleZone::Update()
+{
+ HYDROData_NaturalObject::Update();
+
+ TopoDS_Shape aResShape = generateTopShape();
+ SetTopShape( aResShape );
+}
+
+TopoDS_Shape HYDROData_ImmersibleZone::generateTopShape() const
{
TopoDS_Shape aResShape = TopoDS_Face();
TopoDS_Shape HYDROData_ImmersibleZone::GetShape3D() const
{
- // TODO
return getTopShape();
}
QColor HYDROData_ImmersibleZone::DefaultFillingColor()
{
- return QColor( Qt::green );
+ return QColor( Qt::darkBlue );
}
QColor HYDROData_ImmersibleZone::DefaultBorderColor()
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 )
{
SetReferenceObject( thePolyline, DataTag_Polyline );
+ SetToUpdate( true );
}
Handle(HYDROData_PolylineXY) HYDROData_ImmersibleZone::GetPolyline() const
void HYDROData_ImmersibleZone::RemovePolyline()
{
ClearReferenceObjects( DataTag_Polyline );
+ SetToUpdate( true );
}