Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refs #1456: correct Python name on dump ECW images
[modules/hydro.git]
/
src
/
HYDROData
/
HYDROData_Region.h
diff --git
a/src/HYDROData/HYDROData_Region.h
b/src/HYDROData/HYDROData_Region.h
index b8da0556160d93457d168e4c8480e8b67fa1633e..205e546ef97bfdf1f214a25c0e5209b2f5be87c1 100644
(file)
--- a/
src/HYDROData/HYDROData_Region.h
+++ b/
src/HYDROData/HYDROData_Region.h
@@
-22,10
+22,8
@@
#include "HYDROData_ShapesGroup.h"
#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;
class TopoDS_Shape;
class TopoDS_Face;
class QStringList;
@@
-35,9
+33,7
@@
class QStringList;
*/
class HYDROData_Region : public HYDROData_Entity
{
*/
class HYDROData_Region : public HYDROData_Entity
{
-
protected:
protected:
-
/**
* Enumeration of tags corresponding to the persistent object parameters.
*/
/**
* Enumeration of tags corresponding to the persistent object parameters.
*/
@@
-49,7
+45,7
@@
protected:
};
public:
};
public:
- DEFINE_STANDARD_RTTI
(HYDROData_Region
);
+ DEFINE_STANDARD_RTTI
EXT(HYDROData_Region, HYDROData_Entity
);
/**
* Returns the kind of this object. Must be redefined in all objects of known type.
/**
* Returns the kind of this object. Must be redefined in all objects of known type.
@@
-59,7
+55,9
@@
public:
/**
* Dump object to Python script representation.
*/
/**
* Dump object to Python script representation.
*/
- HYDRODATA_EXPORT virtual QStringList DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const;
+ HYDRODATA_EXPORT virtual QStringList DumpToPython( const QString& thePyScriptPath,
+ MapOfTreatedObjects& theTreatedObjects,
+ QString defRegName = QString()) const;
/**
* Returns flag indicating that object is updateble or not.
/**
* Returns flag indicating that object is updateble or not.
@@
-112,7
+110,8
@@
public:
* - a shell if the zones faces can't be united into one face
* \return shape as TopoDS_Shape
*/
* - 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;
HYDRODATA_EXPORT bool IsSubmersible() const;