From: Romulo Pinho Date: Fri, 27 Jan 2012 15:31:09 +0000 (+0100) Subject: fusion and image colormaps are now equivalent X-Git-Tag: v1.3.0~107 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=0436a29e0647a1334e9fcaef8a807708b56fc402;p=clitk.git fusion and image colormaps are now equivalent - changed value range to (1, 1) --- diff --git a/vv/vvSlicerManager.cxx b/vv/vvSlicerManager.cxx index 813ba22..d9ed42e 100644 --- a/vv/vvSlicerManager.cxx +++ b/vv/vvSlicerManager.cxx @@ -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();