#include "HYDROData_NaturalObject.h"
#include <TopoDS_Face.hxx>
+#include <Geom_BSplineCurve.hxx>
DEFINE_STANDARD_HANDLE(HYDROData_Stream, HYDROData_NaturalObject)
class Handle(HYDROData_PolylineXY);
*/
HYDRODATA_EXPORT virtual void Update();
+ /**
+ * Returns default filling color for new stream.
+ */
+ HYDRODATA_EXPORT static QColor DefaultFillingColor();
+
+ /**
+ * Returns default border color for new stream.
+ */
+ HYDRODATA_EXPORT static QColor DefaultBorderColor();
+
public:
// Public methods to work with Stream
* Removes all reference profile objects from stream.
*/
HYDRODATA_EXPORT virtual void RemoveProfiles();
-
-
+
protected:
/**
* If hydraulic axis is not set all profiles will be removed from order.
*/
void updateProfilesOrder();
+
+ /**
+ * Builds b-spline using interpolation algorithm.
+ */
+ Handle(Geom_BSplineCurve) buildInterpolationCurve(const Handle(TColgp_HArray1OfPnt)& theArrayOfPnt);
+
+ /**
+ * 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: