]> Creatis software - bbtk.git/commitdiff
#3403 BBTK Feature New Normal - vtk8itk5wx3-macos
authorEduardo DAVILA <davila@creatis.insa-lyon.fr>
Tue, 21 Apr 2020 10:11:19 +0000 (12:11 +0200)
committerEduardo DAVILA <davila@creatis.insa-lyon.fr>
Tue, 21 Apr 2020 10:11:19 +0000 (12:11 +0200)
packages/vtk/src/bbvtkMagnitud.cxx
packages/vtk/src/bbvtkPolyDataToActor.cxx
packages/vtk/src/bbvtkVecIsoSurfaceExtractor.cxx

index b6205e12e12491b6f3014f419bab7e9652c21f3f..96e7726fca33dcabc07bbd2f88601770dec60df1 100644 (file)
@@ -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();
 
index ed7966c13c7f48e50ba0572d2d847cdbdb9762b7..c0fa2088e1ec3cb1243028150c806150b23a31e0 100644 (file)
@@ -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();
    }
 
        //---------------------------------------------------------------------
index 2e25383433759e0d7950c4ef2e0051f0f9cc4f9c..e661cc558c450aa1b72b113956e8d60594943126 100644 (file)
@@ -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);