X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FOCC2VTK%2FGEOM_WireframeFace.h;h=1cc1ff5683d0713a5d62b2775aeac6edd3664752;hb=09ece3edc1896e16a412b35810d76411f06d68ec;hp=2b2814329b9bf244b5c0db7ae147abefb7760f73;hpb=cb06d0db39cf4edb1a6bf0d9e062d16b8fb2bde0;p=modules%2Fgeom.git diff --git a/src/OCC2VTK/GEOM_WireframeFace.h b/src/OCC2VTK/GEOM_WireframeFace.h old mode 100755 new mode 100644 index 2b2814329..1cc1ff568 --- a/src/OCC2VTK/GEOM_WireframeFace.h +++ b/src/OCC2VTK/GEOM_WireframeFace.h @@ -1,9 +1,9 @@ -// Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2023 CEA, EDF, OPEN CASCADE // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either -// version 2.1 of the License. +// version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -28,10 +28,15 @@ class vtkPolyData; +namespace GEOMUtils +{ + class Hatcher; +} + class OCC2VTK_EXPORT GEOM_WireframeFace: public GEOM_FaceSource { public: - vtkTypeMacro(GEOM_WireframeFace,GEOM_FaceSource); + vtkTypeMacro(GEOM_WireframeFace,GEOM_FaceSource) static GEOM_WireframeFace* New(); /* vtkSetMacro(NbIso,int); @@ -63,7 +68,15 @@ protected: const int theDiscret, vtkPolyData* thePolyData, vtkPoints* thePts); - + + static + void + CreateIso(const GEOMUtils::Hatcher &theHatcher, + const Standard_Boolean IsUIso, + const int theDiscret, + vtkPolyData *thePolyData, + vtkPoints *thePts); + static void CreateIso_(const TopoDS_Face& theFace,