2 #ifndef HYDROData_Region_HeaderFile
3 #define HYDROData_Region_HeaderFile
5 #include <HYDROData_Domain.h>
8 DEFINE_STANDARD_HANDLE(HYDROData_Region, HYDROData_Domain)
11 /**\class HYDROData_Domain
12 * \brief Class that stores/retreives information about the 2d surface.
14 class HYDROData_Region : public HYDROData_Domain
19 * Enumeration of tags corresponding to the persistent object parameters.
23 DataTag_First = HYDROData_Domain::DataTag_First + 100, ///< first tag, to reserve
28 DEFINE_STANDARD_RTTI(HYDROData_Region);
31 * Returns the kind of this object. Must be redefined in all objects of known type.
33 HYDRODATA_EXPORT virtual const ObjectKind GetKind() const { return KIND_REGION; }
36 * Sets the shape of the object.
38 HYDRODATA_EXPORT void SetFace( const TopoDS_Face& theFace );
41 * Returns the shape of the the object (redefined method).
43 HYDRODATA_EXPORT virtual TopoDS_Face Face() const;
47 friend class HYDROData_Iterator;
50 * Creates new object in the internal data structure. Use higher level objects
51 * to create objects with real content.
56 * Destructs properties of the object and object itself, removes it from the document.
61 * Returns id for creation of object in python scripting.
63 virtual QString getPythonKindId() const;