# ---------------------------------------------------------------------
#
# 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
//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
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();
{
polydatamapper = vtkPolyDataMapper::New();
vtkactor = vtkActor::New();
-
// polydatamapper->SetInput(marchingcubes->GetOutput());
vtkactor->SetMapper(polydatamapper);
-
- polydatamapper->ImmediateModeRenderingOn();
+//EED 2020-04-21 vtk8 deprecated
+// polydatamapper->ImmediateModeRenderingOn();
}
//---------------------------------------------------------------------
vtkactor->SetMapper(polydatamapper);
polydatamapper->ScalarVisibilityOff();
- polydatamapper->ImmediateModeRenderingOn();
+//EED 2020-04-21 vtk8 deprecated
+// polydatamapper->ImmediateModeRenderingOn();
VecMarchingcubes.push_back(marchingcubes);
VecPolydatamapper.push_back(polydatamapper);