]> SALOME platform Git repositories - modules/smesh.git/blobdiff - src/SMDS/SMDS_UnstructuredGrid.hxx
Salome HOME
Keep compatibility with ParaView-5.0.1
[modules/smesh.git] / src / SMDS / SMDS_UnstructuredGrid.hxx
index d34095d9ae03a37346e93c76ca4ada6da57af722..4ea6c64189add089bef00be29d08a6266c12b870 100644 (file)
 // allow very huge polyhedrons in tests
 #define NBMAXNODESINCELL 5000
 
+// Keep compatibility with paraview 5.0.1
+#ifndef VTK_HAS_MTIME_TYPE
+#define VTK_HAS_MTIME_TYPE
+typedef unsigned long int vtkMTimeType;
+#endif
+
+
 class SMDS_Downward;
 class SMDS_Mesh;
 class SMDS_MeshCell;
@@ -69,15 +76,10 @@ public:
                    int               newNodeSize,
                    std::vector<int>& idCellsOldToNew,
                    int               newCellSize);
-  virtual unsigned long GetMTime();
-  // OUV_PORTING_VTK6: seems to be useless
-  //virtual void Update();
-  //virtual void UpdateInformation();
+  virtual vtkMTimeType GetMTime();
   virtual vtkPoints *GetPoints();
 
-  //#ifdef VTK_HAVE_POLYHEDRON
   int InsertNextLinkedCell(int type, int npts, vtkIdType *pts);
-  //#endif
 
   int CellIdToDownId(int vtkCellId);
   void setCellIdToDownId(int vtkCellId, int downId);