From 66c0b229be48fdbbe2d42bcb5fa461ab87461ae3 Mon Sep 17 00:00:00 2001 From: srit Date: Wed, 8 Sep 2010 12:04:44 +0000 Subject: [PATCH] Account for window/level of fusion image --- vv/vvSlicerManager.cxx | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.47.1