Salome HOME
Dump to python corrected.
[modules/hydro.git] / src / HYDROData / HYDROData_Obstacle.h
index bfa194e691dcf72c4556bf2ee0820dd5243321a9..dc78d9f1647a9c4f11cd17caa2b17d8547e2a7df 100644 (file)
@@ -36,6 +36,12 @@ public:
    */
   HYDRODATA_EXPORT virtual QStringList DumpToPython( MapOfTreatedObjects& theTreatedObjects ) 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.
    */
@@ -57,6 +63,11 @@ public:
   HYDRODATA_EXPORT static QColor DefaultBorderColor();
 
 
+  /**
+   * Sets the 3d shape of the object.
+   */
+  HYDRODATA_EXPORT virtual void SetShape3D( const TopoDS_Shape& theShape );
+
 public:
 
   /**
@@ -106,6 +117,19 @@ protected:
    */
   HYDRODATA_EXPORT virtual QColor getDefaultBorderColor() const;
 
+  /**
+   * Returns the type of child altitude object.
+   * Reimplemented to create obstacle altitude object.
+   */
+  HYDRODATA_EXPORT virtual ObjectKind getAltitudeObjectType() const;
+
+private:
+
+  /**
+   * Create all necessary child group objects.
+   */
+  HYDRODATA_EXPORT void createGroupObjects();
+
 protected:
 
   friend class HYDROData_Iterator;