X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROData%2FHYDROData_ImmersibleZone.cxx;h=f113ba31b684b1512de9bd3e4470ed08935b0f8d;hb=ad8562bab9992101430a6327aa7ca06c71f6d084;hp=286cbaa39a9df099166b418d0d2221189f2f7acb;hpb=0d9decc8762a829f1bdc69048fab08122e441ec0;p=modules%2Fhydro.git diff --git a/src/HYDROData/HYDROData_ImmersibleZone.cxx b/src/HYDROData/HYDROData_ImmersibleZone.cxx index 286cbaa3..f113ba31 100644 --- a/src/HYDROData/HYDROData_ImmersibleZone.cxx +++ b/src/HYDROData/HYDROData_ImmersibleZone.cxx @@ -33,7 +33,7 @@ QStringList HYDROData_ImmersibleZone::DumpToPython( MapOfTreatedObjects& theTrea { QStringList aResList; - Handle(HYDROData_Document) aDocument = HYDROData_Document::Document( this ); + Handle(HYDROData_Document) aDocument = HYDROData_Document::Document( myLab ); if ( aDocument.IsNull() ) return aResList; @@ -97,31 +97,11 @@ QColor HYDROData_ImmersibleZone::DefaultFillingColor() return QColor( Qt::green ); } -void HYDROData_ImmersibleZone::SetFillingColor( const QColor& theColor ) -{ - return SetColor( theColor, DataTag_FillingColor ); -} - -QColor HYDROData_ImmersibleZone::GetFillingColor() const -{ - return GetColor( DefaultFillingColor(), DataTag_FillingColor ); -} - QColor HYDROData_ImmersibleZone::DefaultBorderColor() { return QColor( Qt::transparent ); } -void HYDROData_ImmersibleZone::SetBorderColor( const QColor& theColor ) -{ - return SetColor( theColor, DataTag_BorderColor ); -} - -QColor HYDROData_ImmersibleZone::GetBorderColor() const -{ - return GetColor( DefaultBorderColor(), DataTag_BorderColor ); -} - void HYDROData_ImmersibleZone::SetPolyline( const Handle(HYDROData_Polyline)& thePolyline ) { SetReferenceObject( thePolyline, DataTag_Polyline ); @@ -138,20 +118,4 @@ void HYDROData_ImmersibleZone::RemovePolyline() ClearReferenceObjects( DataTag_Polyline ); } -void HYDROData_ImmersibleZone::SetBathymetry( const Handle(HYDROData_Bathymetry)& theBathymetry ) -{ - SetReferenceObject( theBathymetry, DataTag_Bathymetry ); -} - -Handle(HYDROData_Bathymetry) HYDROData_ImmersibleZone::GetBathymetry() const -{ - return Handle(HYDROData_Bathymetry)::DownCast( - GetReferenceObject( DataTag_Bathymetry ) ); -} - -void HYDROData_ImmersibleZone::RemoveBathymetry() -{ - ClearReferenceObjects( DataTag_Bathymetry ); -} -