From: apo Date: Thu, 6 Apr 2006 13:26:21 +0000 (+0000) Subject: Porting on Mandriva 64 (to use VTKViewer_CellLocationsArray class that is responsible... X-Git-Tag: mergeto_OCC_debug_for_3_2_0b1_07Apr06 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=603d0d56da8d3c37815a2ef81deb0b1877223221;p=modules%2Fvisu.git 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) --- 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);