Salome HOME
Corrections of examples path after install with scbi
[modules/hydro.git] / src / HYDROData / HYDROData_ChannelAltitude.h
index 0eb7b7016cd4dd33d90e4231d9881b0196f4215e..93fabb498ebe557505887fc4c2d1f224ad08cac7 100644 (file)
@@ -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: