[pubgit-commits-list] Clitk branch master updated. v1.2.0-635-g0436a29
root
root at tux.creatis.insa-lyon.fr
Fri Jan 27 16:32:07 CET 2012
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Clitk".
The branch, master has been updated
via 0436a29e0647a1334e9fcaef8a807708b56fc402 (commit)
from d88f111d34848829097d0c91cffd9a6cc53cd5e0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.creatis.insa-lyon.fr/pubgit/?p=clitk.git;a=commitdiff;h=0436a29e0647a1334e9fcaef8a807708b56fc402
commit 0436a29e0647a1334e9fcaef8a807708b56fc402
Author: Romulo Pinho <romulo.pinho at lyon.unicancer.fr>
Date: Fri Jan 27 16:31:09 2012 +0100
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();
-----------------------------------------------------------------------
Summary of changes:
vv/vvSlicerManager.cxx | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
hooks/post-receive
--
Clitk
More information about the Pubgit-commits-list
mailing list