Salome HOME
3D presentation for lin.interp. stream
[modules/hydro.git] / src / HYDROPy / HYDROData_ImmersibleZone.sip
index 33d46350dbb91f0954f356349c9fd2fc05de684b..3f5f6116361cf52e8c56e265a4f37dfa07ef273e 100644 (file)
@@ -1,12 +1,8 @@
-// Copyright (C) 2007-2013  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
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -24,7 +20,7 @@
 #include <HYDROData_ImmersibleZone.h>
 %End
 
-class HYDROData_ImmersibleZone : HYDROData_NaturalObject
+class HYDROData_ImmersibleZone : public HYDROData_NaturalObject
 {
 
 %TypeHeaderCode
@@ -46,30 +42,10 @@ class HYDROData_ImmersibleZone : HYDROData_NaturalObject
 
 public:      
 
-  /**
-   * Sets filling color for zone.
-   */
-  void SetFillingColor( const QColor& theColor );
-
-  /**
-   * Returns filling color of zone.
-   */
-  QColor GetFillingColor() const;
-
-  /**
-   * Sets border color for zone.
-   */
-  void SetBorderColor( const QColor& theColor );
-
-  /**
-   * Returns border color of zone.
-   */
-  QColor GetBorderColor() const;
-
   /**
    * Sets reference polyline object for zone.
    */
-  void SetPolyline( HYDROData_PolylineXY thePolyline ) [void (const Handle_HYDROData_PolylineXY&)];
+  void SetPolyline( HYDROData_PolylineXY thePolyline ) [void (const opencascade::handle<HYDROData_PolylineXY>&)];
   %MethodCode
 
     Handle(HYDROData_PolylineXY) aRefPolyline =
@@ -87,7 +63,7 @@ public:
   /**
    * Returns reference polyline object of zone.
    */
-  HYDROData_PolylineXY GetPolyline() const [Handle_HYDROData_PolylineXY ()];
+  HYDROData_PolylineXY GetPolyline() const [opencascade::handle<HYDROData_PolylineXY> ()];
   %MethodCode
 
     Handle(HYDROData_PolylineXY) aRefPolyline;