X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROData%2FHYDROData_ChannelAltitude.h;h=93fabb498ebe557505887fc4c2d1f224ad08cac7;hb=e7e76450be3fadf6ad263f78e10ceb8cd1f70deb;hp=0eb7b7016cd4dd33d90e4231d9881b0196f4215e;hpb=9d44116e703eee10527cef6c81ab5f6805515111;p=modules%2Fhydro.git diff --git a/src/HYDROData/HYDROData_ChannelAltitude.h b/src/HYDROData/HYDROData_ChannelAltitude.h index 0eb7b701..93fabb49 100644 --- a/src/HYDROData/HYDROData_ChannelAltitude.h +++ b/src/HYDROData/HYDROData_ChannelAltitude.h @@ -23,8 +23,6 @@ #include "HYDROData_IAltitudeObject.h" -DEFINE_STANDARD_HANDLE(HYDROData_ChannelAltitude, HYDROData_IAltitudeObject) - /**\class HYDROData_ChannelAltitude * \brief Class that stores/retrieves information about the Channel altitude. @@ -40,11 +38,12 @@ protected: enum DataTag { DataTag_First = HYDROData_IAltitudeObject::DataTag_First + 100, ///< first tag, to reserve + DataTag_InvertDirection, ///< flag for inversion of direction }; public: - DEFINE_STANDARD_RTTI(HYDROData_ChannelAltitude); + DEFINE_STANDARD_RTTIEXT(HYDROData_ChannelAltitude, HYDROData_IAltitudeObject); /** * Returns the kind of this object. @@ -60,7 +59,12 @@ public: * \param thePoint the point to examine * \return altitude value */ - HYDRODATA_EXPORT virtual double GetAltitudeForPoint( const gp_XY& thePoint ) const; + HYDRODATA_EXPORT virtual double GetAltitudeForPoint( const gp_XY& thePoint, + int theMethod =0) const; + + HYDRODATA_EXPORT void SetInvertDirection(bool IsInverted); + + HYDRODATA_EXPORT bool GetInvertDirection() const; protected: