From 603d0d56da8d3c37815a2ef81deb0b1877223221 Mon Sep 17 00:00:00 2001 From: apo Date: Thu, 6 Apr 2006 13:26:21 +0000 Subject: [PATCH] Porting on Mandriva 64 (to use VTKViewer_CellLocationsArray class that is responsible for representation of the CellLocationsArray in the different versions of the VTK library - 4.4 and 4.2.6) --- src/CONVERTOR/VISU_Convertor_impl.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/CONVERTOR/VISU_Convertor_impl.cxx b/src/CONVERTOR/VISU_Convertor_impl.cxx index edbec305..a5ceb931 100644 --- a/src/CONVERTOR/VISU_Convertor_impl.cxx +++ b/src/CONVERTOR/VISU_Convertor_impl.cxx @@ -28,13 +28,13 @@ #include "VISU_ConvertorUtils.hxx" #include "VTKViewer_AppendFilter.h" #include "VISU_MergeFilter.hxx" +#include "VTKViewer_CellLocationsArray.h" #include #include #include #include -#include #include #include #include @@ -1208,7 +1208,7 @@ namespace } vtkIdType *pts = 0, npts = 0; - vtkIdTypeArray* aCellLocationsArray = vtkIdTypeArray::New(); + VTKViewer_CellLocationsArray* aCellLocationsArray = VTKViewer_CellLocationsArray::New(); aCellLocationsArray->SetNumberOfComponents(1); aCellLocationsArray->SetNumberOfTuples(aNbCells); aConnectivity->InitTraversal(); @@ -1282,7 +1282,7 @@ namespace } } vtkIdType *pts = 0, npts = 0; - vtkIdTypeArray* aCellLocationsArray = vtkIdTypeArray::New(); + VTKViewer_CellLocationsArray* aCellLocationsArray = VTKViewer_CellLocationsArray::New(); aCellLocationsArray->SetNumberOfComponents(1); aCellLocationsArray->SetNumberOfTuples(aNbCells); aConnectivity->InitTraversal(); @@ -1445,7 +1445,7 @@ namespace } vtkIdType *pts = 0, npts = 0; - vtkIdTypeArray* aCellLocationsArray = vtkIdTypeArray::New(); + VTKViewer_CellLocationsArray* aCellLocationsArray = VTKViewer_CellLocationsArray::New(); aCellLocationsArray->SetNumberOfComponents(1); aCellLocationsArray->SetNumberOfTuples(aNbCells); @@ -1686,7 +1686,7 @@ namespace } anIdList->Delete(); - vtkIdTypeArray* aCellLocationsArray = vtkIdTypeArray::New(); + VTKViewer_CellLocationsArray* aCellLocationsArray = VTKViewer_CellLocationsArray::New(); aCellLocationsArray->SetNumberOfComponents(1); aCellLocationsArray->SetNumberOfTuples(aNbCells); -- 2.39.2