]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Porting on Mandriva 64 (to use VTKViewer_CellLocationsArray class that is responsible... BR2_Mandriva_2006_64 mergeto_OCC_debug_for_3_2_0b1_07Apr06
authorapo <apo@opencascade.com>
Thu, 6 Apr 2006 13:26:21 +0000 (13:26 +0000)
committerapo <apo@opencascade.com>
Thu, 6 Apr 2006 13:26:21 +0000 (13:26 +0000)
src/CONVERTOR/VISU_Convertor_impl.cxx

index edbec305dbe9b40cdf7f6c8b9b67d0196e6154bd..a5ceb931aafaecb61ec7305a3ac5aa93ea7492f2 100644 (file)
 #include "VISU_ConvertorUtils.hxx"
 #include "VTKViewer_AppendFilter.h"
 #include "VISU_MergeFilter.hxx"
+#include "VTKViewer_CellLocationsArray.h"
 
 #include <vtkPoints.h>
 #include <vtkUnstructuredGrid.h>
 
 #include <vtkIdList.h>
 #include <vtkCellType.h>
-#include <vtkIdTypeArray.h>
 #include <vtkCellArray.h>
 #include <vtkFloatArray.h>
 #include <vtkUnsignedCharArray.h>
@@ -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);