]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Some fixes to compile against ParaView master. po/pv-master
authorPascal Obry <pascal@obry.net>
Fri, 9 Sep 2022 13:50:21 +0000 (15:50 +0200)
committerPascal Obry <pascal@obry.net>
Fri, 9 Sep 2022 13:50:21 +0000 (15:50 +0200)
src/OBJECT/SMESH_DeviceActor.cxx
src/OBJECT/SMESH_DeviceActor.h

index 0012cf37312d9861fc46f5dd966ba9d060f81690..c476156c8562fc24451f36ded6724e8d4e496b60 100644 (file)
@@ -60,7 +60,7 @@
 #include <vtkUnsignedCharArray.h>
 
 #include <vtkImplicitBoolean.h>
-#include <vtkPassThroughFilter.h>
+#include <vtkPassThrough.h>
 
 #include <vtkRenderer.h>
 
@@ -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;
index a3724ac6ff42a118481af5a1e6bc4c1ab819a06a..258597d4b42fd63a80e2d57a5337d7ead43a2ea8 100644 (file)
@@ -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<vtkPassThroughFilter*> myPassFilter;
+  std::vector<vtkPassThrough*> myPassFilter;
 
   vtkShrinkFilter* myShrinkFilter;
   bool myIsShrinkable;