Salome HOME
Refs #289 - Spline profile is represented in OCC view as polyline profile
[modules/hydro.git] / src / HYDROData / HYDROData_ImmersibleZone.h
index d8ea781c33d761aba6394d19dc58660ac9754eae..68ca0e9cd7b165a21fe822f79958d0d8efb953df 100644 (file)
@@ -83,9 +83,27 @@ public:
    */
   HYDRODATA_EXPORT virtual void RemovePolyline();
 
+  HYDRODATA_EXPORT TopoDS_Shape generateTopShape() const;
+  HYDRODATA_EXPORT static TopoDS_Shape generateTopShape( const Handle(HYDROData_PolylineXY)& );
+
+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;
+  /**
+   * Create all necessary child group objects.
+   */
+  HYDRODATA_EXPORT virtual void createGroupObjects();
 
 protected: