class Handle(HYDROData_Polyline3D);
class Handle(HYDROData_Profile);
+class TopTools_SequenceOfShape;
+class TopTools_ListOfShape;
DEFINE_STANDARD_HANDLE(HYDROData_Channel, HYDROData_ArtificialObject)
*/
HYDRODATA_EXPORT virtual QStringList DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const;
+ /**
+ * Returns the list of all reference objects of this object.
+ */
+ HYDRODATA_EXPORT virtual HYDROData_SequenceOfObjects GetAllReferenceObjects() const;
+
/**
* Returns the top shape of the object.
*/
*/
HYDRODATA_EXPORT virtual void Update();
+ /**
+ * Returns default filling color for new channel.
+ */
+ HYDRODATA_EXPORT static QColor DefaultFillingColor();
+
+ /**
+ * Returns default border color for new channel.
+ */
+ HYDRODATA_EXPORT static QColor DefaultBorderColor();
+
public:
// Public methods to work with Channel
HYDRODATA_EXPORT virtual void RemoveProfile();
+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;
+
+ /**
+ * Returns the type of child altitude object.
+ * Reimplemented to create chanel altitude object.
+ */
+ virtual ObjectKind getAltitudeObjectType() const;
+
protected:
friend class HYDROData_Iterator;