2 #ifndef HYDROData_Confluence_HeaderFile
3 #define HYDROData_Confluence_HeaderFile
5 #include "HYDROData_NaturalObject.h"
7 DEFINE_STANDARD_HANDLE(HYDROData_Confluence, HYDROData_NaturalObject)
9 /**\class HYDROData_Confluence
13 class HYDROData_Confluence : 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_Confluence);
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_CONFLUENCE;}
33 * Dump object to Python script representation.
35 HYDRODATA_EXPORT virtual QStringList DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const;
38 * Returns the top shape of the object.
40 HYDRODATA_EXPORT virtual TopoDS_Shape GetTopShape() const;
43 * Returns the 3d shape of the object.
45 HYDRODATA_EXPORT virtual TopoDS_Shape GetShape3D() const;
47 HYDRODATA_EXPORT virtual void UpdateLocalCS( double theDx, double theDy );
51 friend class HYDROData_Iterator;
54 * Creates new object in the internal data structure. Use higher level objects
55 * to create objects with real content.
57 HYDRODATA_EXPORT HYDROData_Confluence();
60 * Destructs properties of the object and object itself, removes it from the document.
62 virtual HYDRODATA_EXPORT ~HYDROData_Confluence();