Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Porting on Mandriva 64 (to use VTKViewer_CellLocationsArray class that is responsible...
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_NodesDlg.cxx
diff --git
a/src/SMESHGUI/SMESHGUI_NodesDlg.cxx
b/src/SMESHGUI/SMESHGUI_NodesDlg.cxx
index 67206eca38439d6f7fce2d37e14d954eb3eae2c6..9ac5b9cc6504d64254aae9af50bbf12332e5bbcb 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_NodesDlg.cxx
+++ b/
src/SMESHGUI/SMESHGUI_NodesDlg.cxx
@@
-54,6
+54,7
@@
#include "SVTK_Selector.h"
#include "SVTK_ViewWindow.h"
#include "SVTK_Selector.h"
#include "SVTK_ViewWindow.h"
+#include "VTKViewer_CellLocationsArray.h"
#include "SALOME_Actor.h"
#include "SALOME_ListIO.hxx"
#include "SALOME_Actor.h"
#include "SALOME_ListIO.hxx"
@@
-63,7
+64,6
@@
// VTK Includes
#include <vtkCell.h>
#include <vtkIdList.h>
// VTK Includes
#include <vtkCell.h>
#include <vtkIdList.h>
-#include <vtkIdTypeArray.h>
#include <vtkCellArray.h>
#include <vtkUnsignedCharArray.h>
#include <vtkUnstructuredGrid.h>
#include <vtkCellArray.h>
#include <vtkUnsignedCharArray.h>
#include <vtkUnstructuredGrid.h>
@@
-148,7
+148,7
@@
namespace SMESH {
aCells->InsertNextCell(anIdList);
aCellTypesArray->InsertNextValue(VTK_VERTEX);
aCells->InsertNextCell(anIdList);
aCellTypesArray->InsertNextValue(VTK_VERTEX);
-
vtkIdTypeArray* aCellLocationsArray = vtkIdType
Array::New();
+
VTKViewer_CellLocationsArray* aCellLocationsArray = VTKViewer_CellLocations
Array::New();
aCellLocationsArray->SetNumberOfComponents(1);
aCellLocationsArray->SetNumberOfTuples(1);
aCellLocationsArray->SetNumberOfComponents(1);
aCellLocationsArray->SetNumberOfTuples(1);