X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROData%2FHYDROData_Region.h;h=205e546ef97bfdf1f214a25c0e5209b2f5be87c1;hb=926110b557c276a493e3b6066bb0a598b124d36b;hp=f92ae0e11de28c4e0203634126b38c0511b650ca;hpb=30c0cab7fa5364508f087fdf73b62235e587f888;p=modules%2Fhydro.git diff --git a/src/HYDROData/HYDROData_Region.h b/src/HYDROData/HYDROData_Region.h index f92ae0e1..205e546e 100644 --- a/src/HYDROData/HYDROData_Region.h +++ b/src/HYDROData/HYDROData_Region.h @@ -22,10 +22,8 @@ #include "HYDROData_ShapesGroup.h" -DEFINE_STANDARD_HANDLE(HYDROData_Region, HYDROData_Entity) - -class Handle(HYDROData_Zone); -class Handle(HYDROData_Document); +class HYDROData_Zone; +class HYDROData_Document; class TopoDS_Shape; class TopoDS_Face; class QStringList; @@ -35,9 +33,7 @@ class QStringList; */ class HYDROData_Region : public HYDROData_Entity { - protected: - /** * Enumeration of tags corresponding to the persistent object parameters. */ @@ -49,7 +45,7 @@ protected: }; public: - DEFINE_STANDARD_RTTI(HYDROData_Region); + DEFINE_STANDARD_RTTIEXT(HYDROData_Region, HYDROData_Entity); /** * Returns the kind of this object. Must be redefined in all objects of known type. @@ -60,7 +56,8 @@ public: * Dump object to Python script representation. */ HYDRODATA_EXPORT virtual QStringList DumpToPython( const QString& thePyScriptPath, - MapOfTreatedObjects& theTreatedObjects ) const; + MapOfTreatedObjects& theTreatedObjects, + QString defRegName = QString()) const; /** * Returns flag indicating that object is updateble or not. @@ -113,7 +110,8 @@ public: * - a shell if the zones faces can't be united into one face * \return shape as TopoDS_Shape */ - HYDRODATA_EXPORT virtual TopoDS_Shape GetShape( HYDROData_ShapesGroup::SeqOfGroupsDefs* theSeqOfGroups = 0 ) const; + HYDRODATA_EXPORT virtual TopoDS_Shape GetShape( HYDROData_ShapesGroup::SeqOfGroupsDefs* theSeqOfGroups = 0, + const TopTools_SequenceOfShape* IntSh = NULL ) const; HYDRODATA_EXPORT bool IsSubmersible() const;