Salome HOME
Fixed bos#34419 - class member was not initialized
[modules/geom.git] / src / OCC2VTK / GEOM_FaceSource.h
old mode 100755 (executable)
new mode 100644 (file)
index cdbbf62..5f00c54
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2022  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 
 #include <gp_Pnt.hxx>
 #include <TopoDS_Face.hxx> 
-#include <NCollection_Set.hxx> 
+#include <TopTools_ShapeMapHasher.hxx>
+#include <NCollection_Map.hxx> 
  
-typedef NCollection_Set<TopoDS_Face> TFaceSet; 
+typedef NCollection_Map<TopoDS_Face, TopTools_ShapeMapHasher> TFaceSet; 
  
 #include <vtkPoints.h> 
 #include <vtkPolyDataAlgorithm.h> 
@@ -36,7 +37,7 @@ class vtkPolyData;
 class OCC2VTK_EXPORT GEOM_FaceSource: public vtkPolyDataAlgorithm 
 { 
 public: 
-  vtkTypeMacro(GEOM_FaceSource,vtkPolyDataAlgorithm)
+  vtkTypeMacro(GEOM_FaceSource,vtkPolyDataAlgorithm)
  
   void AddFace(const TopoDS_Face& theFace); 
   void Clear(){ myFaceSet.Clear();}