From ae984dccd4524698b6911c68d73c0a3846d7c278 Mon Sep 17 00:00:00 2001 From: Romulo Pinho Date: Thu, 24 Jan 2013 14:25:06 +0100 Subject: [PATCH] added window/level preset for head/brain - same as Focal --- vv/qt_ui/vvMainWindow.ui | 7 ++++++- vv/vvSlicerManager.cxx | 8 ++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/vv/qt_ui/vvMainWindow.ui b/vv/qt_ui/vvMainWindow.ui index 07ddeb2..67a467d 100644 --- a/vv/qt_ui/vvMainWindow.ui +++ b/vv/qt_ui/vvMainWindow.ui @@ -254,6 +254,11 @@ Bones + + + Head/Brain + + [0,1] Scale @@ -805,7 +810,7 @@ 0 0 1008 - 29 + 18 diff --git a/vv/vvSlicerManager.cxx b/vv/vvSlicerManager.cxx index 67f78bc..5e799a0 100644 --- a/vv/vvSlicerManager.cxx +++ b/vv/vvSlicerManager.cxx @@ -1273,12 +1273,16 @@ void vvSlicerManager::SetPreset(int preset) level = 500; break; case 5: - window = 1; - level = 0.5; + window = 200; + level = 70; break; case 6: + window = 1; + level = 0.5; break; case 7: + break; + case 8: window=1.; level=0.; break; -- 2.47.1