]> Creatis software - clitk.git/commitdiff
added window/level preset for head/brain
authorRomulo Pinho <romulo.pinho@lyon.unicancer.fr>
Thu, 24 Jan 2013 13:25:06 +0000 (14:25 +0100)
committerRomulo Pinho <romulo.pinho@lyon.unicancer.fr>
Thu, 24 Jan 2013 13:25:06 +0000 (14:25 +0100)
- same as Focal

vv/qt_ui/vvMainWindow.ui
vv/vvSlicerManager.cxx

index 07ddeb2eeb520f2b49f97cb3012842a96522b844..67a467dd820c0f681cba79b8806956c7f61b6770 100644 (file)
            <string>Bones</string>
           </property>
          </item>
+         <item>
+          <property name="text">
+           <string>Head/Brain</string>
+          </property>
+         </item>
          <item>
           <property name="text">
            <string>[0,1] Scale</string>
      <x>0</x>
      <y>0</y>
      <width>1008</width>
-     <height>29</height>
+     <height>18</height>
     </rect>
    </property>
    <property name="defaultUp">
index 67f78bc71158122f40901ed5231230e5dee76acd..5e799a0e6f37421db5b79229bab9d8b5c747a4d8 100644 (file)
@@ -1273,12 +1273,16 @@ void vvSlicerManager::SetPreset(int preset)
     level = 500;\r
     break;\r
   case 5:\r
-    window = 1;\r
-    level = 0.5;\r
+    window = 200;\r
+    level = 70;\r
     break;\r
   case 6:\r
+    window = 1;\r
+    level = 0.5;\r
     break;\r
   case 7:\r
+    break;\r
+  case 8:\r
     window=1.;\r
     level=0.;\r
     break;\r