From: srit Date: Thu, 16 Dec 2010 18:04:21 +0000 (+0000) Subject: Toggle interpolation for fusion and overlay actors to (when applicable) X-Git-Tag: v1.2.0~275 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=dded8b0644eb54aecd495c15cef179001aefb234;p=clitk.git Toggle interpolation for fusion and overlay actors to (when applicable) --- 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); } } //----------------------------------------------------------------------------