-// 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
/**
* Returns default filling color for new 3D polyline.
*/
- static QColor DefaultFillingColor();
+ virtual QColor DefaultFillingColor() const;
/**
* Returns default border color for new 3D polyline.
*/
- static QColor DefaultBorderColor();
+ virtual QColor DefaultBorderColor() const;
public:
*/
bool SetPolylineXY( HYDROData_PolylineXY thePolyline,
const bool theIsUpdateProfile = true )
- [bool ( const Handle_HYDROData_PolylineXY&,
+ [bool ( const opencascade::handle<HYDROData_PolylineXY>&,
const bool = true )];
%MethodCode
Handle(HYDROData_PolylineXY) aRef =
* Returns reference x,y polyline object of 3D polyline.
*/
HYDROData_PolylineXY GetPolylineXY() const
- [Handle_HYDROData_PolylineXY ()];
+ [opencascade::handle<HYDROData_PolylineXY> ()];
%MethodCode
Handle(HYDROData_PolylineXY) aRef;
* Sets reference u,z profile object for 3D polyline.
*/
bool SetProfileUZ( HYDROData_ProfileUZ theProfile )
- [bool ( const Handle_HYDROData_ProfileUZ& )];
+ [bool ( const opencascade::handle<HYDROData_ProfileUZ>& )];
%MethodCode
Handle(HYDROData_ProfileUZ) aRef =
Handle(HYDROData_ProfileUZ)::DownCast( createHandle( a0 ) );
* Returns reference u,z profile object of 3D polyline.
*/
HYDROData_ProfileUZ GetProfileUZ() const
- [Handle_HYDROData_ProfileUZ ()];
+ [Hopencascade::handle<HYDROData_ProfileUZ> ()];
%MethodCode
Handle(HYDROData_ProfileUZ) aRef;
* Reimplemented to remove reference u,z profile.
*/
bool SetAltitudeObject( HYDROData_IAltitudeObject theAltitude )
- [bool ( const Handle_HYDROData_IAltitudeObject& )];
+ [bool ( const opencascade::handle<HYDROData_IAltitudeObject>& )];
%MethodCode
Handle(HYDROData_IAltitudeObject) aRef =
Handle(HYDROData_IAltitudeObject)::DownCast( createHandle( a0 ) );
* Returns the child u,z profile which has been generated from bathymetry.
*/
HYDROData_ProfileUZ GetChildProfileUZ( const bool theIsCreate = true ) const
- [Handle_HYDROData_ProfileUZ ( const bool = true )];
+ [opencascade::handle<HYDROData_ProfileUZ> ( const bool = true )];
%MethodCode
Handle(HYDROData_ProfileUZ) aRef;
/**
* Sets the child u,z profile for polyline.
*/
- void SetChildProfileUZ( HYDROData_ProfileUZ theProfile ) [void ( const Handle_HYDROData_ProfileUZ& )];
+ void SetChildProfileUZ( HYDROData_ProfileUZ theProfile ) [void ( const opencascade::handle<HYDROData_ProfileUZ>& )];
%MethodCode
Handle(HYDROData_ProfileUZ) aRef =
Handle(HYDROData_ProfileUZ)::DownCast( createHandle( a0 ) );