From ba7a525f8c7245b409cbcb7e697408c463751f78 Mon Sep 17 00:00:00 2001 From: Pascal Obry Date: Fri, 9 Sep 2022 15:50:21 +0200 Subject: [PATCH] Some fixes to compile against ParaView master. --- src/OBJECT/SMESH_DeviceActor.cxx | 4 ++-- src/OBJECT/SMESH_DeviceActor.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/OBJECT/SMESH_DeviceActor.cxx b/src/OBJECT/SMESH_DeviceActor.cxx index 0012cf373..c476156c8 100644 --- a/src/OBJECT/SMESH_DeviceActor.cxx +++ b/src/OBJECT/SMESH_DeviceActor.cxx @@ -60,7 +60,7 @@ #include #include -#include +#include #include @@ -118,7 +118,7 @@ SMESH_DeviceActor myTransformFilter = VTKViewer_TransformFilter::New(); for(int i = 0; i < 6; i++) - myPassFilter.push_back(vtkPassThroughFilter::New()); + myPassFilter.push_back(vtkPassThrough::New()); // Orientation of faces myIsFacesOriented = false; diff --git a/src/OBJECT/SMESH_DeviceActor.h b/src/OBJECT/SMESH_DeviceActor.h index a3724ac6f..258597d4b 100644 --- a/src/OBJECT/SMESH_DeviceActor.h +++ b/src/OBJECT/SMESH_DeviceActor.h @@ -44,7 +44,7 @@ class vtkShrinkFilter; class vtkUnstructuredGrid; class vtkLookupTable; class vtkImplicitBoolean; -class vtkPassThroughFilter; +class vtkPassThrough; class vtkPlaneCollection; class VTKViewer_Transform; @@ -183,7 +183,7 @@ class SMESHOBJECT_EXPORT SMESH_DeviceActor: public vtkLODActor{ bool myStoreClippingMapping; VTKViewer_GeometryFilter *myGeomFilter; VTKViewer_TransformFilter *myTransformFilter; - std::vector myPassFilter; + std::vector myPassFilter; vtkShrinkFilter* myShrinkFilter; bool myIsShrinkable; -- 2.39.2