Salome HOME
patch for correct compilation on Linux
[modules/hydro.git] / src / HYDROData / HYDROData_ImmersibleZone.h
index 8f9e2fc9e3c51d9679b26d7789f4d71e686225d3..f7111a37960632d1aaa5c48fd07e4a20a275a1d6 100644 (file)
@@ -6,7 +6,7 @@
 
 DEFINE_STANDARD_HANDLE(HYDROData_ImmersibleZone, HYDROData_NaturalObject)
 
-class Handle(HYDROData_Polyline);
+class Handle(HYDROData_PolylineXY);
 
 /**\class HYDROData_ImmersibleZone
  * \brief 
@@ -21,8 +21,6 @@ protected:
   enum DataTag
   {
     DataTag_First = HYDROData_NaturalObject::DataTag_First + 100, ///< first tag, to reserve
-    DataTag_FillingColor, ///< filling color of immersible zone
-    DataTag_BorderColor,  ///< border color of immersible zone
     DataTag_Polyline,     ///< reference polyline
 };
 
@@ -39,6 +37,11 @@ public:
    */
   HYDRODATA_EXPORT virtual QStringList DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const;
 
+  /**
+   * Returns the list of all reference objects of this object.
+   */
+  HYDRODATA_EXPORT virtual HYDROData_SequenceOfObjects GetAllReferenceObjects() const;
+
   /**
    * Returns the top shape of the object.
    */
@@ -49,48 +52,25 @@ public:
    */
   HYDRODATA_EXPORT virtual TopoDS_Shape GetShape3D() const;
 
-
   /**
    * Returns default filling color for new zone.
    */
   HYDRODATA_EXPORT static QColor DefaultFillingColor();
 
-  /**
-   * Sets filling color for zone.
-   */
-  HYDRODATA_EXPORT virtual void SetFillingColor( const QColor& theColor );
-
-  /**
-   * Returns filling color of zone.
-   */
-  HYDRODATA_EXPORT virtual QColor GetFillingColor() const;
-
-
   /**
    * Returns default border color for new zone.
    */
   HYDRODATA_EXPORT static QColor DefaultBorderColor();
 
-  /**
-   * Sets border color for zone.
-   */
-  HYDRODATA_EXPORT virtual void SetBorderColor( const QColor& theColor );
-
-  /**
-   * Returns border color of zone.
-   */
-  HYDRODATA_EXPORT virtual QColor GetBorderColor() const;
-
-
   /**
    * Sets reference polyline object for zone.
    */
-  HYDRODATA_EXPORT virtual void SetPolyline( const Handle(HYDROData_Polyline)& thePolyline );
+  HYDRODATA_EXPORT virtual void SetPolyline( const Handle(HYDROData_PolylineXY)& thePolyline );
 
   /**
    * Returns reference polyline object of zone.
    */
-  HYDRODATA_EXPORT virtual Handle(HYDROData_Polyline) GetPolyline() const;
+  HYDRODATA_EXPORT virtual Handle(HYDROData_PolylineXY) GetPolyline() const;
 
   /**
    * Remove reference polyline object of zone.