+ /**
+ * Set reference bathymetry object for geometry object.
+ * Reimplemented to remove reference u,z profile.
+ */
+ HYDRODATA_EXPORT virtual bool SetAltitudeObject( const Handle(HYDROData_IAltitudeObject)& theAltitude );
+
+ /**
+ * Clear the reference bathymetry object for geometry object.
+ * Reimplemented to remove child u,z profile.
+ */
+ HYDRODATA_EXPORT virtual void RemoveAltitudeObject();
+
+
+ /**
+ * Returns the child u,z profile which has been generated from bathymetry.
+ */
+ HYDRODATA_EXPORT Handle(HYDROData_ProfileUZ) GetChildProfileUZ( const bool theIsCreate = true ) const;
+
+ /**
+ * Sets the child u,z profile for polyline.
+ */
+ HYDRODATA_EXPORT void SetChildProfileUZ( const Handle(HYDROData_ProfileUZ)& theProfile );
+
+
+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;
+
+ /**
+ * Checks and if necessary create child 3D object.
+ * Reimplemented to prevent creation of 3D child object.
+ */
+ HYDRODATA_EXPORT virtual void checkAndSetObject3D() {}
+
+
+protected:
+
+
+ void updateChildProfilePoints();
+
+ void removeChildProfileUZ();
+
+