2 #ifndef HYDROData_ObstacleAltitude_HeaderFile
3 #define HYDROData_ObstacleAltitude_HeaderFile
6 #include "HYDROData_IAltitudeObject.h"
9 DEFINE_STANDARD_HANDLE(HYDROData_ObstacleAltitude, HYDROData_IAltitudeObject)
12 /**\class HYDROData_ObstacleAltitude
13 * \brief Class that stores/retreives information about the obstacle altitude.
16 class HYDROData_ObstacleAltitude : public HYDROData_IAltitudeObject
21 * Enumeration of tags corresponding to the persistent object parameters.
25 DataTag_First = HYDROData_IAltitudeObject::DataTag_First + 100, ///< first tag, to reserve
30 DEFINE_STANDARD_RTTI(HYDROData_ObstacleAltitude);
33 * Returns the kind of this object.
35 HYDRODATA_EXPORT virtual const ObjectKind GetKind() const { return KIND_OBSTACLE_ALTITUDE; }
39 * Dump Altitude object to Python script representation.
41 HYDRODATA_EXPORT virtual QStringList DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const;
45 // Public methods to work with altitudes.
48 * Returns altitude for given point.
49 * \param thePoint the point to examine
50 * \return altitude value
52 HYDRODATA_EXPORT virtual double GetAltitudeForPoint( const gp_XY& thePoint ) const;
56 friend class HYDROData_Iterator;
59 * Creates new object in the internal data structure. Use higher level objects
60 * to create objects with real content.
62 HYDRODATA_EXPORT HYDROData_ObstacleAltitude();
65 * Destructs properties of the object and object itself, removes it from the document.
67 HYDRODATA_EXPORT ~HYDROData_ObstacleAltitude();