From: srit Date: Wed, 8 Sep 2010 12:04:44 +0000 (+0000) Subject: Account for window/level of fusion image X-Git-Tag: v1.2.0~409 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=66c0b229be48fdbbe2d42bcb5fa461ab87461ae3;p=clitk.git Account for window/level of fusion image --- diff --git a/vv/vvSlicerManager.cxx b/vv/vvSlicerManager.cxx index 7f68a72..c23c120 100644 --- a/vv/vvSlicerManager.cxx +++ b/vv/vvSlicerManager.cxx @@ -1217,6 +1217,8 @@ void vvSlicerManager::SetColorMap(int colormap) if (mSlicers[i]->GetFusion() && mSlicers[i]->GetFusionActor()->GetVisibility()) { mSlicers[i]->GetFusionActor()->SetOpacity(double(mFusionOpacity)/100); mSlicers[i]->GetFusionMapper()->SetLookupTable(fusLUT); + mSlicers[i]->GetFusionMapper()->SetWindow(mFusionWindow); + mSlicers[i]->GetFusionMapper()->SetLevel(mFusionLevel); } } if (fusLUT)