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_MoveNodesDlg.cxx
diff --git
a/src/SMESHGUI/SMESHGUI_MoveNodesDlg.cxx
b/src/SMESHGUI/SMESHGUI_MoveNodesDlg.cxx
index 48d82dbfe9ee7ddfc8e52d2494c9cd2bfa20fbeb..ebcfd21d8b5b036496c221d52eb88e3292ae67a7 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_MoveNodesDlg.cxx
+++ b/
src/SMESHGUI/SMESHGUI_MoveNodesDlg.cxx
@@
-52,6
+52,7
@@
#include "SALOME_ListIO.hxx"
#include "SVTK_ViewWindow.h"
#include "SALOME_ListIO.hxx"
#include "SVTK_ViewWindow.h"
+#include "VTKViewer_CellLocationsArray.h"
#include "utilities.h"
#include "utilities.h"
@@
-61,7
+62,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>
@@
-547,7
+547,7
@@
void SMESHGUI_MoveNodesDlg::redisplayPreview()
aCellTypesArray->InsertNextValue(VTK_VERTEX);
anIdList->Delete();
aCellTypesArray->InsertNextValue(VTK_VERTEX);
anIdList->Delete();
-
vtkIdTypeArray* aCellLocationsArray = vtkIdType
Array::New();
+
VTKViewer_CellLocationsArray* aCellLocationsArray = VTKViewer_CellLocations
Array::New();
aCellLocationsArray->SetNumberOfComponents(1);
aCellLocationsArray->SetNumberOfTuples(1);
aCellLocationsArray->SetNumberOfComponents(1);
aCellLocationsArray->SetNumberOfTuples(1);