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.
*/
*/
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.
/**
* 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: