From dded8b0644eb54aecd495c15cef179001aefb234 Mon Sep 17 00:00:00 2001 From: srit Date: Thu, 16 Dec 2010 18:04:21 +0000 Subject: [PATCH] Toggle interpolation for fusion and overlay actors to (when applicable) --- vv/vvSlicerManager.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vv/vvSlicerManager.cxx b/vv/vvSlicerManager.cxx index 46e7764..ac2afc4 100644 --- a/vv/vvSlicerManager.cxx +++ b/vv/vvSlicerManager.cxx @@ -468,6 +468,10 @@ void vvSlicerManager::ToggleInterpolation() bool interpolate=!(mSlicers[0]->GetImageActor()->GetInterpolate()); for ( unsigned int i = 0; i < mSlicers.size(); i++) { mSlicers[i]->GetImageActor()->SetInterpolate(interpolate); + if (mSlicers[i]->GetOverlayActor()) + mSlicers[i]->GetOverlayActor()->SetInterpolate(interpolate); + if (mSlicers[i]->GetFusionActor()) + mSlicers[i]->GetFusionActor()->SetInterpolate(interpolate); } } //---------------------------------------------------------------------------- -- 2.47.1