Salome HOME
Dump to python corrected.
[modules/hydro.git] / src / HYDROData / HYDROData_Stream.h
index 0b57d7076abf6c0385e6857fbb7d3ec65c5d1b65..b1ee6f48ae1a929fa36ae1612d936a30c5c2921d 100644 (file)
@@ -84,8 +84,32 @@ public:
   HYDRODATA_EXPORT static bool IsValidAsAxis( const Handle(HYDROData_PolylineXY)& theAxis );
 
 public:      
-  // Public methods to work with Stream
+  // Public methods to work with Stream presentation
   
+  /**
+   * Returns the left edge of the stream.
+   */
+  HYDRODATA_EXPORT virtual TopoDS_Shape GetLeftShape() const;
+
+  /**
+   * Returns the right edge of the stream.
+   */
+  HYDRODATA_EXPORT virtual TopoDS_Shape GetRightShape() const;
+
+  /**
+   * Returns the inlet edge of the stream.
+   */
+  HYDRODATA_EXPORT virtual TopoDS_Shape GetInletShape() const;
+
+  /**
+   * Returns the outlet edge of the stream.
+   */
+  HYDRODATA_EXPORT virtual TopoDS_Shape GetOutletShape() const;
+
+
+public:      
+  // Public methods to work with Stream data fields
+
   /**
    * Sets reference hydraulic axis object for stream.
    */
@@ -157,16 +181,11 @@ protected:
    */
   void updateProfilesOrder();
   
-  /**
-   * Create all necessary child group objects.
-   */
-  virtual void createGroupObjects();
-
   /**
    * Returns the type of child altitude object.
    * Reimplemented to create stream altitude object.
    */
-  virtual ObjectKind getAltitudeObjectType() const;
+  HYDRODATA_EXPORT virtual ObjectKind getAltitudeObjectType() const;
 
   /**
    * Builds b-spline using interpolation algorithm.
@@ -176,12 +195,12 @@ protected:
   /**
    * Returns default filling color for new object.
    */
-  virtual QColor getDefaultFillingColor() const;
+  HYDRODATA_EXPORT virtual QColor getDefaultFillingColor() const;
 
   /**
    * Returns default border color for new object.
    */
-  virtual QColor getDefaultBorderColor() const;
+  HYDRODATA_EXPORT virtual QColor getDefaultBorderColor() const;
 
 private: