From: Eduardo DAVILA Date: Tue, 21 Apr 2020 10:11:19 +0000 (+0200) Subject: #3403 BBTK Feature New Normal - vtk8itk5wx3-macos X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=208df598c5aeefbd6a683a5c6da00598a4a3d9ea;p=bbtk.git #3403 BBTK Feature New Normal - vtk8itk5wx3-macos --- diff --git a/packages/vtk/src/bbvtkMagnitud.cxx b/packages/vtk/src/bbvtkMagnitud.cxx index b6205e1..96e7726 100644 --- a/packages/vtk/src/bbvtkMagnitud.cxx +++ b/packages/vtk/src/bbvtkMagnitud.cxx @@ -2,7 +2,7 @@ # --------------------------------------------------------------------- # # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image - # pour la Santé) + # pour la Santé© # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton # Previous Authors : Laurent Guigues, Jean-Pierre Roux # CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil @@ -154,7 +154,8 @@ printf("EED Magnitud::Process Start\n"); //Glyph Mapper vGlyphMapper->SetLookupTable(vGreenToRedLut); vGlyphMapper->SetScalarRange(range1); - vGlyphMapper->ImmediateModeRenderingOn(); +//EED 2020-04-21 vtk8 deprecated +// vGlyphMapper->ImmediateModeRenderingOn(); //Outline Grid //EED 2017-01-01 Migration VTK7 @@ -272,7 +273,7 @@ printf("EED Magnitud::Process Start\n"); vPlaneWidget->SetResolution(1); vPlaneWidget->SetRepresentationToOutline(); //vPlaneWidget->SetInteractor(vIren); - vPlaneWidget->SetPlaceFactor(1); //défini zoom initial + vPlaneWidget->SetPlaceFactor(1); //déæini zoom initial vPlaneWidget->PlaceWidget(); vPlaneWidget->On(); diff --git a/packages/vtk/src/bbvtkPolyDataToActor.cxx b/packages/vtk/src/bbvtkPolyDataToActor.cxx index ed7966c..c0fa208 100644 --- a/packages/vtk/src/bbvtkPolyDataToActor.cxx +++ b/packages/vtk/src/bbvtkPolyDataToActor.cxx @@ -79,11 +79,10 @@ namespace bbvtk { polydatamapper = vtkPolyDataMapper::New(); vtkactor = vtkActor::New(); - // polydatamapper->SetInput(marchingcubes->GetOutput()); vtkactor->SetMapper(polydatamapper); - - polydatamapper->ImmediateModeRenderingOn(); +//EED 2020-04-21 vtk8 deprecated +// polydatamapper->ImmediateModeRenderingOn(); } //--------------------------------------------------------------------- diff --git a/packages/vtk/src/bbvtkVecIsoSurfaceExtractor.cxx b/packages/vtk/src/bbvtkVecIsoSurfaceExtractor.cxx index 2e25383..e661cc5 100644 --- a/packages/vtk/src/bbvtkVecIsoSurfaceExtractor.cxx +++ b/packages/vtk/src/bbvtkVecIsoSurfaceExtractor.cxx @@ -144,7 +144,8 @@ BBTK_BLACK_BOX_IMPLEMENTATION(VecIsoSurfaceExtractor,bbtk::AtomicBlackBox); vtkactor->SetMapper(polydatamapper); polydatamapper->ScalarVisibilityOff(); - polydatamapper->ImmediateModeRenderingOn(); +//EED 2020-04-21 vtk8 deprecated +// polydatamapper->ImmediateModeRenderingOn(); VecMarchingcubes.push_back(marchingcubes); VecPolydatamapper.push_back(polydatamapper);