Salome HOME
Refs #279 - Copy for the view position coordinates
[modules/hydro.git] / src / HYDROData / HYDROData_Obstacle.h
index bfa194e691dcf72c4556bf2ee0820dd5243321a9..9a9954fb680c89066fe702243d7b26574e446cf1 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,17 @@ protected:
    */
   HYDRODATA_EXPORT virtual QColor getDefaultBorderColor() const;
 
+  /**
+   * Create all necessary child group objects.
+   */
+  HYDRODATA_EXPORT virtual void createGroupObjects();
+
+  /**
+   * Returns the type of child altitude object.
+   * Reimplemented to create obstacle altitude object.
+   */
+  HYDRODATA_EXPORT virtual ObjectKind getAltitudeObjectType() const;
+
 protected:
 
   friend class HYDROData_Iterator;