Salome HOME
projects
/
modules
/
gui.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade to paraview 5.4
[modules/gui.git]
/
src
/
SVTK
/
SVTK_Actor.cxx
diff --git
a/src/SVTK/SVTK_Actor.cxx
b/src/SVTK/SVTK_Actor.cxx
index e13b0350bdde0c53a430d3961d76072659ccf3c3..a4e404ee69cbd7bd39002f4d48c5e9bda91ff20e 100644
(file)
--- a/
src/SVTK/SVTK_Actor.cxx
+++ b/
src/SVTK/SVTK_Actor.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
4
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
6
CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-111,8
+111,8
@@
SVTK_Actor
myUnstructuredGrid->Initialize();
myUnstructuredGrid->Allocate();
myUnstructuredGrid->Initialize();
myUnstructuredGrid->Allocate();
- vtk
DataSet *aSourceDataSet =
theMapActor->GetInput();
-
SVTK::CopyPoints(GetSource(),aSourceDataSet
);
+ vtk
UnstructuredGrid * aSourceGrid = (vtkUnstructuredGrid *)
theMapActor->GetInput();
+
GetSource()->SetPoints( aSourceGrid->GetPoints()
);
int aNbOfParts = theMapIndex.Extent();
for(int ind = 1; ind <= aNbOfParts; ind++){
int aNbOfParts = theMapIndex.Extent();
for(int ind = 1; ind <= aNbOfParts; ind++){
@@
-182,8
+182,8
@@
SVTK_Actor
myUnstructuredGrid->Initialize();
myUnstructuredGrid->Allocate();
myUnstructuredGrid->Initialize();
myUnstructuredGrid->Allocate();
- vtk
DataSet *aSourceDataSet =
theMapActor->GetInput();
-
SVTK::CopyPoints(GetSource(),aSourceDataSet
);
+ vtk
UnstructuredGrid * aSourceGrid = (vtkUnstructuredGrid *)
theMapActor->GetInput();
+
GetSource()->SetPoints( aSourceGrid->GetPoints()
);
if(theMapIndex.Extent() == 2){
if(theMapIndex.Extent() == 2){