From: Eduardo DAVILA Date: Wed, 4 Oct 2017 12:45:41 +0000 (+0200) Subject: #3138 creaMaracasVisu Feature New Normal - branch vtk7itk4wx3 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=56eb704bce4e7a4206ffa16c84f3000b8b8f93eb;p=creaMaracasVisu.git #3138 creaMaracasVisu Feature New Normal - branch vtk7itk4wx3 --- 56eb704bce4e7a4206ffa16c84f3000b8b8f93eb diff --cc lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtk2DBaseView.cxx index 029f1ef,175c074..393b3f1 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtk2DBaseView.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtk2DBaseView.cxx @@@ -105,11 -105,9 +105,11 @@@ void wxVtk2DBaseView::ResetView( int x1 = 1,x2 = 1,y1 = 1,y2 = 1,z1 = 1,z2 = 1; wxVtkBaseView::Configure(); - wxVTKRenderWindowInteractor *iren = GetWxVTKRenderWindowInteractor(); + crea::wxVTKRenderWindowInteractor *iren = GetWxVTKRenderWindowInteractor(); vtkImageData *imageData = GetVtkBaseData()->GetImageData(); if(imageData){ +//EED 2017-01-01 Migration VTK7 +#if VTK_MAJOR_VERSION <= 5 imageData->UpdateInformation(); imageData->SetUpdateExtent( imageData->GetWholeExtent()); imageData->Update();