Salome HOME
Remove redundant code
[modules/geom.git] / src / OCC2VTK / GEOM_WireframeFace.h
index bd931a8edb9f987f646a80f4110b03cab2a599a2..8cedc026a4f2179e27d4e31caae1f57adc7b6c90 100755 (executable)
@@ -1,9 +1,9 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2015  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
 // 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
 #include <GeomAbs_IsoType.hxx>
 #include <BRepAdaptor_Surface.hxx>
  
-#include <vtkPolyDataSource.h> 
+class vtkPolyData;
+
+namespace GEOMUtils
+{
+  class Hatcher;
+}
 
 class OCC2VTK_EXPORT GEOM_WireframeFace: public GEOM_FaceSource 
 { 
@@ -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,
@@ -85,7 +98,7 @@ protected:
               vtkPolyData* thePolyData,
               vtkPoints* thePts);
 
-  void Execute(); 
+  virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
  
   GEOM_WireframeFace(); 
   ~GEOM_WireframeFace();