Salome HOME
Copyright update 2022
[modules/gui.git] / src / VTKViewer / VTKViewer_Filter.h
index 742e60b025744821b92edb7c35794881bed67b19..bce1ecb46142f45edaf85db6dbd92774af5c29ee 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2021  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2022  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -29,6 +29,7 @@
 #define VTKViewer_Filter_HeaderFile
 
 #include "VTKViewer.h"
+#include <vtkType.h>
 
 #include <Standard_Transient.hxx>
 #include <Standard_DefineHandle.hxx>
@@ -50,8 +51,8 @@ public:
   VTKVIEWER_EXPORT VTKViewer_Filter();
   VTKVIEWER_EXPORT virtual ~VTKViewer_Filter();
 
-  VTKVIEWER_EXPORT bool                        IsValid( VTKViewer_Actor*, const int theId );
-  VTKVIEWER_EXPORT virtual bool                IsValid( const int theId ) const = 0;
+  VTKVIEWER_EXPORT bool                        IsValid( VTKViewer_Actor*, const vtkIdType theId );
+  VTKVIEWER_EXPORT virtual bool                IsValid( const vtkIdType theId ) const = 0;
   VTKVIEWER_EXPORT virtual int                 GetId() const = 0;
   VTKVIEWER_EXPORT virtual bool                IsNodeFilter() const = 0;