Salome HOME
refs #430: incorrect coordinates in dump polyline
[modules/hydro.git] / src / HYDROData / HYDROData_ImmersibleZone.h
index e71a50171aa77e20a7a96455b371d424c764baf3..9e0b929db973e7ee00af9b12098851049200e4d4 100644 (file)
@@ -48,6 +48,11 @@ public:
    */
   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.
    */
@@ -83,6 +88,9 @@ public:
    */
   HYDRODATA_EXPORT virtual void RemovePolyline();
 
+  HYDRODATA_EXPORT TopoDS_Shape generateTopShape() const;
+  HYDRODATA_EXPORT static TopoDS_Shape generateTopShape( const Handle(HYDROData_PolylineXY)& );
+
 protected:
 
   /**
@@ -97,7 +105,10 @@ protected:
 
 private:
 
-  TopoDS_Shape generateTopShape() const;
+  /**
+   * Create all necessary child group objects.
+   */
+  HYDRODATA_EXPORT void createGroupObjects();
 
 protected: