DEFINE_STANDARD_HANDLE(HYDROData_ImmersibleZone, HYDROData_NaturalObject)
-class Handle(HYDROData_Polyline);
+class Handle(HYDROData_PolylineXY);
/**\class HYDROData_ImmersibleZone
* \brief
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
};
*/
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.
*/
*/
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.