2 #ifndef HYDROData_River_HeaderFile
3 #define HYDROData_River_HeaderFile
5 #include "HYDROData_NaturalObject.h"
7 DEFINE_STANDARD_HANDLE(HYDROData_River, HYDROData_NaturalObject)
9 /**\class HYDROData_River
13 class HYDROData_River : public HYDROData_NaturalObject
17 * Enumeration of tags corresponding to the persistent object parameters.
21 DataTag_First = HYDROData_NaturalObject::DataTag_First + 100, ///< first tag, to reserve
25 DEFINE_STANDARD_RTTI(HYDROData_River);
28 * Returns the kind of this object. Must be redefined in all objects of known type.
30 HYDRODATA_EXPORT virtual const ObjectKind GetKind() const {return KIND_RIVER;}
33 * Dump object to Python script representation.
35 HYDRODATA_EXPORT virtual QStringList DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const;
38 * Update the immersible zone object.
39 * Call this method whenever you made changes for object data.
41 HYDRODATA_EXPORT virtual void Update();
43 HYDRODATA_EXPORT virtual void UpdateLocalCS( double theDx, double theDy );
46 * Checks that object has 2D presentation. Reimlemented to retun true.
48 HYDRODATA_EXPORT virtual bool IsHas2dPrs() const;
51 * Returns the top shape of the object.
53 HYDRODATA_EXPORT virtual TopoDS_Shape GetTopShape() const;
56 * Returns the 3d shape of the object.
58 HYDRODATA_EXPORT virtual TopoDS_Shape GetShape3D() const;
62 friend class HYDROData_Iterator;
65 * Creates new object in the internal data structure. Use higher level objects
66 * to create objects with real content.
68 HYDRODATA_EXPORT HYDROData_River();
71 * Destructs properties of the object and object itself, removes it from the document.
73 virtual HYDRODATA_EXPORT ~HYDROData_River();