Some fixes to compile against ParaView master.

This commit is contained in:
Pascal Obry 2022-09-09 15:50:21 +02:00 committed by jfa
parent d078f9f262
commit ba7a525f8c
2 changed files with 4 additions and 4 deletions

View 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;

View 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;