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
Move color tags to the base geometrical object class.
[modules/hydro.git]
/
src
/
HYDROData
/
HYDROData_CalculationCase.h
diff --git
a/src/HYDROData/HYDROData_CalculationCase.h
b/src/HYDROData/HYDROData_CalculationCase.h
index d6d6ac45d55b10bd3a41be0f04227c2d514ecff3..2b471335d3fb53c54cc81095c3e9a4df4cbda543 100644
(file)
--- a/
src/HYDROData/HYDROData_CalculationCase.h
+++ b/
src/HYDROData/HYDROData_CalculationCase.h
@@
-5,6
+5,8
@@
#include <HYDROData_Entity.h>
#include <HYDROData_Entity.h>
+class TopoDS_Shell;
+
class Handle(HYDROData_Object);
class Handle(HYDROData_Region);
class Handle(HYDROData_Zone);
class Handle(HYDROData_Object);
class Handle(HYDROData_Region);
class Handle(HYDROData_Zone);
@@
-115,6
+117,11
@@
public:
*/
HYDRODATA_EXPORT virtual HYDROData_SequenceOfObjects GetRegions() const;
*/
HYDRODATA_EXPORT virtual HYDROData_SequenceOfObjects GetRegions() const;
+ /**
+ * Updates names of regions to correct order.
+ */
+ HYDRODATA_EXPORT virtual void UpdateRegionsOrder();
+
/**
* Removes reference region from calculation case.
*/
/**
* Removes reference region from calculation case.
*/
@@
-125,6
+132,12
@@
public:
*/
HYDRODATA_EXPORT virtual void RemoveRegions();
*/
HYDRODATA_EXPORT virtual void RemoveRegions();
+ /**
+ * Returns shell containing faces which correspond to regions.
+ * \return shell as TopoDS_Shell
+ */
+ HYDRODATA_EXPORT virtual TopoDS_Shell GetShell();
+
private:
/**
private:
/**
@@
-142,12
+155,12
@@
protected:
* Creates new object in the internal data structure. Use higher level objects
* to create objects with real content.
*/
* Creates new object in the internal data structure. Use higher level objects
* to create objects with real content.
*/
- HYDROData_CalculationCase();
+ HYDROD
ATA_EXPORT HYDROD
ata_CalculationCase();
/**
* Destructs properties of the object and object itself, removes it from the document.
*/
/**
* Destructs properties of the object and object itself, removes it from the document.
*/
- ~HYDROData_CalculationCase();
+
HYDRODATA_EXPORT
~HYDROData_CalculationCase();
};
#endif
};
#endif