-// 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>
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();}