X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROData%2FHYDROData_Channel.h;h=163601c0d718be20b2d5ead90c5ad0febacdce2f;hb=58bb6b7459bebeeb089c9ed486c4683a8bae7288;hp=0cd9c4a1235f44c16b6b54741ab7579bf4ce9cc4;hpb=25c483f304a19aace130948fd7f6771bb82bd09c;p=modules%2Fhydro.git diff --git a/src/HYDROData/HYDROData_Channel.h b/src/HYDROData/HYDROData_Channel.h index 0cd9c4a1..163601c0 100644 --- a/src/HYDROData/HYDROData_Channel.h +++ b/src/HYDROData/HYDROData_Channel.h @@ -24,12 +24,8 @@ #include #include -class Handle(HYDROData_Polyline3D); -class Handle(HYDROData_Profile); -class TopTools_SequenceOfShape; -class TopTools_ListOfShape; - -DEFINE_STANDARD_HANDLE(HYDROData_Channel, HYDROData_ArtificialObject) +class HYDROData_Polyline3D; +class HYDROData_Profile; /**\class HYDROData_Channel * \brief @@ -58,11 +54,11 @@ protected: DataTag_First = HYDROData_ArtificialObject::DataTag_First + 100, ///< first tag, to reserve DataTag_GuideLine, DataTag_Profile, + DataTag_EquiDistance, }; public: - - DEFINE_STANDARD_RTTI(HYDROData_Channel); + DEFINE_STANDARD_RTTIEXT(HYDROData_Channel, HYDROData_ArtificialObject); public: @@ -71,7 +67,8 @@ public: */ HYDRODATA_EXPORT static bool CreatePresentations( const Handle(HYDROData_Polyline3D)& theGuideLine, const Handle(HYDROData_Profile)& theProfile, - PrsDefinition& thePrs ); + PrsDefinition& thePrs, + double theEquiDistance ); public: @@ -101,16 +98,6 @@ public: */ HYDRODATA_EXPORT virtual TopoDS_Shape GetRightShape() const; - /** - * Returns the left edge of the channel. - */ - HYDRODATA_EXPORT virtual TopoDS_Shape GetLeftShape() const; - - /** - * Returns the right edge of the channel. - */ - HYDRODATA_EXPORT virtual TopoDS_Shape GetRightShape() const; - /** * Update the shape presentations of stream. * Call this method whenever you made changes for channel data. @@ -167,6 +154,8 @@ public: */ HYDRODATA_EXPORT virtual void RemoveProfile(); + HYDRODATA_EXPORT void SetEquiDistance( double ); + HYDRODATA_EXPORT double GetEquiDistance() const; protected: /**