From 84697af643b0ea04fa2897c8f4ab9658102ae1f4 Mon Sep 17 00:00:00 2001 From: Simon Rit Date: Thu, 9 Jun 2011 11:19:48 +0200 Subject: [PATCH] Updating reslice filter information in UpdateDisplayExtent was not enough, calling AdjustResliceToSliceOrientation does a better job although it should not be necessary. --- vv/vvSlicer.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vv/vvSlicer.cxx b/vv/vvSlicer.cxx index 4358357..6100c56 100644 --- a/vv/vvSlicer.cxx +++ b/vv/vvSlicer.cxx @@ -836,8 +836,8 @@ void vvSlicer::UpdateDisplayExtent() // Overlay image actor if (mOverlay && mOverlayActor->GetVisibility()) { + AdjustResliceToSliceOrientation(mOverlayReslice); int overExtent[6]; - mOverlayReslice->GetOutput()->UpdateInformation(); this->ConvertImageToImageDisplayExtent(input, w_ext, mOverlayReslice->GetOutput(), overExtent); ClipDisplayedExtent(overExtent, mOverlayMapper->GetInput()->GetWholeExtent()); mOverlayActor->SetDisplayExtent( overExtent ); @@ -845,8 +845,8 @@ void vvSlicer::UpdateDisplayExtent() // Fusion image actor if (mFusion && mFusionActor->GetVisibility()) { + AdjustResliceToSliceOrientation(mFusionReslice); int fusExtent[6]; - mFusionReslice->GetOutput()->UpdateInformation(); this->ConvertImageToImageDisplayExtent(input, w_ext, mFusionReslice->GetOutput(), fusExtent); ClipDisplayedExtent(fusExtent, mFusionMapper->GetInput()->GetWholeExtent()); mFusionActor->SetDisplayExtent(fusExtent); -- 2.47.1