Salome HOME
17.12.2013. Added Partition algorithm (draft version).
[modules/hydro.git] / src / HYDROData / HYDROData_ImmersibleZone.h
index 04616f48f923d6a430f395fba570b89b7a72262a..e71a50171aa77e20a7a96455b371d424c764baf3 100644 (file)
@@ -37,6 +37,17 @@ 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;
+
+  /**
+   * Update the immersible zone object.
+   * Call this method whenever you made changes for object data.
+   */
+  HYDRODATA_EXPORT virtual void Update();
+
   /**
    * Returns the top shape of the object.
    */
@@ -72,6 +83,22 @@ public:
    */
   HYDRODATA_EXPORT virtual void RemovePolyline();
 
+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:
+
+  TopoDS_Shape generateTopShape() const;
+
 protected:
 
   friend class HYDROData_Iterator;