]> Creatis software - clitk.git/blobdiff - vv/vvSlicerManager.cxx
fusion and image colormaps are now equivalent
[clitk.git] / vv / vvSlicerManager.cxx
index 813ba2258bc1f2b247b342f9176e5b2be8f91a4b..d9ed42e2deb448f541eaf97993db3f0eb6b1c483 100644 (file)
@@ -1184,14 +1184,15 @@ void vvSlicerManager::SetColorMap(int colormap)
   case 4:
     if (LUT == NULL)
       LUT = vtkLookupTable::New();
-    LUT->SetValueRange(0,1);
+    LUT->SetValueRange(1,1);
     LUT->SetSaturationRange(1,1);
     LUT->SetHueRange(0,1);
+    LUT->SetAlphaRange(1, 1);
     break;
   case 5:
     if (LUT == NULL)
       LUT = vtkLookupTable::New();
-    LUT->SetValueRange(0.,1);
+    LUT->SetValueRange(1,1);
     LUT->SetSaturationRange(1,1);
     LUT->SetHueRange(1,0.1);
     //LUT->SetRampToLinear();