class Handle(HYDROData_Zone);
+class TopoDS_Shape;
+
/**\class HYDROData_Region
* \brief Regions are groups (lists) of zones, they can include one or several zones.
*/
HYDRODATA_EXPORT virtual QStringList DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const;
+ /**
+ * Removes object and it child sub-objects from the data structure.
+ * Reimplemented to update names of regions in father calculation.
+ */
+ HYDRODATA_EXPORT virtual void Remove();
+
+
/**
* Add new one reference zone for region.
* The label of theZone is changed in case if old parent is not this region.
*/
HYDRODATA_EXPORT virtual void RemoveZones();
+ /**
+ * \brief Returns the shape of the region.
+ * Shape of the region could be:
+ * - a face which is the union of the region zones faces
+ * - a shell if the zones faces can't be united into one face
+ * \return shape as TopoDS_Shape
+ */
+ HYDRODATA_EXPORT virtual TopoDS_Shape GetShape() const;
protected:
* Creates new object in the internal data structure. Use higher level objects
* to create objects with real content.
*/
- HYDROData_Region();
+ HYDRODATA_EXPORT HYDROData_Region();
/**
* Destructs properties of the object and object itself, removes it from the document.
*/
- ~HYDROData_Region();
+ HYDRODATA_EXPORT ~HYDROData_Region();
};
#endif