Salome HOME
Merge commit '0d956a814' into pre/IMPS_2016
[modules/hydro.git] / src / HYDROData / HYDROData_GeomTool.h
index 8f87204fa093a50a242fbdfa17daa9e38d60bf8e..17d48314b19a630540a087552ff36c7d0957c5b4 100644 (file)
 #define HYDROData_GeomTool_HeaderFile
 
 #include "HYDROData.h"
+#include <NCollection_IndexedDataMap.hxx>
+#include <TopTools_ShapeMapHasher.hxx>
+
+#ifdef WIN32
+  #pragma warning ( disable: 4251 )
+#endif
 
 #ifndef LIGHT_MODE
 #include <GEOM_Client.hxx>
 
+#ifdef WIN32
+  #pragma warning ( default: 4251 )
+#endif
+
 class TopoDS_Shape;
 class QString;
 
@@ -105,6 +115,13 @@ public:
                                     GEOM::GEOM_Object_ptr theGeomObj,
                                     const QString& theName );
 
+  static GEOM::GEOM_Object_ptr ExplodeShapeInGEOMandPublish( GEOM::GEOM_Gen_var theGeomEngine, 
+                                                      SALOMEDS::Study_ptr theStudy, 
+                                                      const TopoDS_Shape& theShape, 
+                                                      const NCollection_IndexedDataMap<TopoDS_Shape, QString, TopTools_ShapeMapHasher>& aShToNameModif,
+                                                      const QString& theName,
+                                                      QString& theGeomObjEntry);
+
 };
 
 #endif