From: Pascal Obry Date: Fri, 9 Sep 2022 13:50:21 +0000 (+0200) Subject: Some fixes to compile against ParaView master. X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=540ae8f213786a0145b30312ccba81bf8d0ab878;p=modules%2Fsmesh.git Some fixes to compile against ParaView master. --- 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;