*/
HYDRODATA_EXPORT virtual HYDROData_SequenceOfObjects GetAllReferenceObjects() const;
+ /**
+ * Update the immersible zone object.
+ * Call this method whenever you made changes for object data.
+ */
+ HYDRODATA_EXPORT virtual void Update();
+
+ /**
+ * Checks that object has 2D presentation. Reimlemented to retun true.
+ */
+ HYDRODATA_EXPORT virtual bool IsHas2dPrs() const;
+
/**
* Returns the top shape of the object.
*/
*/
HYDRODATA_EXPORT virtual void RemovePolyline();
+ HYDRODATA_EXPORT TopoDS_Shape generateTopShape() const;
+ HYDRODATA_EXPORT static TopoDS_Shape generateTopShape( const Handle(HYDROData_PolylineXY)& );
+
+protected:
+
+ /**
+ * Returns default filling color for new object.
+ */
+ HYDRODATA_EXPORT virtual QColor getDefaultFillingColor() const;
+
+ /**
+ * Returns default border color for new object.
+ */
+ HYDRODATA_EXPORT virtual QColor getDefaultBorderColor() const;
+
+private:
+
+ /**
+ * Create all necessary child group objects.
+ */
+ HYDRODATA_EXPORT void createGroupObjects();
+
protected:
friend class HYDROData_Iterator;