Salome HOME
Improve smesh GUI display() speed for viewing mesh
[modules/gui.git] / src / VTKViewer / VTKViewer_GeometryFilter.h
index c617dd5e0b71263d903c1c621361e5d77b2afbd6..7c5836895550d1edf955419d62cfcc2d029d1249 100644 (file)
@@ -35,6 +35,7 @@
 #endif
 
 class vtkUnstructuredGrid;
+struct vtkExcludedFaces;
 
 /*! \brief This class used same as vtkGeometryFilter. See documentation on VTK for more information.
  */
@@ -125,7 +126,7 @@ protected:
    */
   ~VTKViewer_GeometryFilter();
 
-  virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
+  int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override;
 
   //special cases for performance
   
@@ -140,6 +141,9 @@ protected:
                          vtkPolyData *output,
                          TMapOfVectorId& theDimension2VTK2ObjIds,
                          bool triangulate = false);
+
+  // Delegate VTKViewer_GeometryFilter::UnstructuredGridExecute to vtkGeometryFilter::UnstructuredGridExecute
+  bool delegateToVtk = true;
     
 private:
   TVectorId myVTK2ObjIds;