]> SALOME platform Git repositories - modules/geom.git/blobdiff - src/GEOMAlgo/GEOMAlgo_GlueDetector.hxx
Salome HOME
0021672: [CEA 565] Dump Study from script
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_GlueDetector.hxx
index db24754ffc706f26963057b5e4221656a2da459a..dc588eacd99898498686595bcd4aaedee88212bb 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2011  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
 //
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
 // File:        GEOMAlgo_GlueDetector.hxx
-// Created:     
 // Author:      Peter KURNEV
-//              <pkv@irinox>
-//
+
 #ifndef _GEOMAlgo_GlueDetector_HeaderFile
 #define _GEOMAlgo_GlueDetector_HeaderFile
 
 #include <Standard.hxx>
 #include <Standard_Macro.hxx>
-#include <GEOMAlgo_GluerAlgo.hxx>
+
 #include <TopAbs_ShapeEnum.hxx>
-#include <GEOMAlgo_PassKeyShape.hxx>
+
+#include <TopTools_ListOfShape.hxx>
+#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
+
+#include <GEOMAlgo_GluerAlgo.hxx>
 #include <GEOMAlgo_Algo.hxx>
+#include <GEOMAlgo_PassKeyShape.hxx>
 
 //=======================================================================
 //function : GEOMAlgo_GlueDetector
-//purpose  : 
+//purpose  :
 //=======================================================================
-class GEOMAlgo_GlueDetector  : public GEOMAlgo_GluerAlgo, 
-                               public GEOMAlgo_Algo {
+class GEOMAlgo_GlueDetector  : public GEOMAlgo_GluerAlgo,
+                               public GEOMAlgo_Algo
+{
 public:
-  Standard_EXPORT   GEOMAlgo_GlueDetector();
-  
-  Standard_EXPORT virtual ~GEOMAlgo_GlueDetector();
-  
-  Standard_EXPORT virtual  void Perform() ;
+  Standard_EXPORT
+    GEOMAlgo_GlueDetector();
+
+  Standard_EXPORT virtual
+    ~GEOMAlgo_GlueDetector();
 
+  Standard_EXPORT virtual
+    void Perform() ;
+
+//modified by NIZNHY-PKV Tue Mar 13 12:23:20 2012f
+  Standard_EXPORT
+    const TopTools_IndexedDataMapOfShapeListOfShape& StickedShapes();
+//modified by NIZNHY-PKV Tue Mar 13 12:23:26 2012t
+//------------------------------------------------
 protected:
-  Standard_EXPORT void DetectVertices() ;
-  
-  Standard_EXPORT void DetectEdges() ;
-  
-  Standard_EXPORT void DetectFaces() ;
-  
-  Standard_EXPORT void DetectShapes(const TopAbs_ShapeEnum aType) ;
-  
-  Standard_EXPORT void EdgePassKey(const TopoDS_Edge& aE,
-                                  GEOMAlgo_PassKeyShape& aPK) ;
-  
-  Standard_EXPORT void FacePassKey(const TopoDS_Face& aF,
-                                  GEOMAlgo_PassKeyShape& aPK) ;
-
-private:
+  Standard_EXPORT
+    void DetectVertices() ;
+
+  Standard_EXPORT
+    void DetectEdges() ;
+
+  Standard_EXPORT
+    void DetectFaces() ;
+
+  Standard_EXPORT
+    void DetectShapes(const TopAbs_ShapeEnum aType) ;
+
+  Standard_EXPORT
+    void EdgePassKey(const TopoDS_Edge& aE,
+                     GEOMAlgo_PassKeyShape& aPK) ;
+
+  Standard_EXPORT
+    void FacePassKey(const TopoDS_Face& aF,
+                     GEOMAlgo_PassKeyShape& aPK) ;
+
+  //modified by NIZNHY-PKV Tue Mar 13 09:53:03 2012f
+  Standard_EXPORT
+    void CheckDetected();
+  //
+  Standard_EXPORT
+    void CheckDetected
+      (const TopTools_ListOfShape& aLVSD,
+       const TopTools_IndexedDataMapOfShapeListOfShape& aMVE,
+       const TopTools_IndexedDataMapOfShapeListOfShape& aMEV);
+
+
+ protected:
+  TopTools_IndexedDataMapOfShapeListOfShape myStickedShapes;
+  //modified by NIZNHY-PKV Tue Mar 13 09:53:08 2012t
+
 };
 #endif