Salome HOME
Bug #490: batch mode error.
[modules/hydro.git] / src / HYDROData / HYDROData_ImmersibleZone.h
index 6370cf45b3d5191bab2a369efdd94b05ae94289a..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,15 +105,10 @@ protected:
 
 private:
 
-  /**
-   * Generate the zone face.
-   */
-  TopoDS_Shape generateTopShape() const;
-
   /**
    * Create all necessary child group objects.
    */
-  HYDRODATA_EXPORT virtual void createGroupObjects();
+  HYDRODATA_EXPORT void createGroupObjects();
 
 protected: