]> Creatis software - clitk.git/commitdiff
Account for window/level of fusion image
authorsrit <srit>
Wed, 8 Sep 2010 12:04:44 +0000 (12:04 +0000)
committersrit <srit>
Wed, 8 Sep 2010 12:04:44 +0000 (12:04 +0000)
vv/vvSlicerManager.cxx

index 7f68a72741c0d2eb9a396d9c00585a6dce7b1b7f..c23c1207ba891e4848751ebdac85efa26a228c27 100644 (file)
@@ -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)