+ * Update the shape presentations of stream.
+ * Call this method whenever you made changes for channel data.
+ */
+ HYDRODATA_EXPORT virtual void Update();
+
+ /**
+ * Checks that object has 2D presentation. Reimlemented to retun true.
+ */
+ HYDRODATA_EXPORT virtual bool IsHas2dPrs() const;
+
+ /**
+ * Returns default filling color for new channel.
+ */
+ HYDRODATA_EXPORT virtual QColor DefaultFillingColor() const;
+
+ /**
+ * Returns default border color for new channel.
+ */
+ HYDRODATA_EXPORT virtual QColor DefaultBorderColor() const;
+
+
+public:
+ // Public methods to work with Channel
+
+ /**
+ * Sets reference guide line object for channel.
+ */
+ HYDRODATA_EXPORT virtual bool SetGuideLine( const Handle(HYDROData_Polyline3D)& theGuideLine );
+
+ /**
+ * Returns reference guide line object of channel.
+ */
+ HYDRODATA_EXPORT virtual Handle(HYDROData_Polyline3D) GetGuideLine() const;
+
+ /**
+ * Remove reference guide line object from channel.
+ */
+ HYDRODATA_EXPORT virtual void RemoveGuideLine();
+
+
+ /**
+ * Sets reference profile object for channel.
+ */
+ HYDRODATA_EXPORT virtual bool SetProfile( const Handle(HYDROData_Profile)& theProfile );
+
+ /**
+ * Returns reference profile object of channel.
+ */
+ HYDRODATA_EXPORT virtual Handle(HYDROData_Profile) GetProfile() const;
+
+ /**
+ * Remove reference profile object from channel.
+ */
+ HYDRODATA_EXPORT virtual void RemoveProfile();
+
+ HYDRODATA_EXPORT void SetEquiDistance( double );
+ HYDRODATA_EXPORT double GetEquiDistance() const;
+
+protected:
+ /**
+ * Returns the type of child altitude object.
+ * Reimplemented to create chanel altitude object.