diff --git a/invesalius/constants.py b/invesalius/constants.py index 8ff7db8..8d8ebe1 100644 --- a/invesalius/constants.py +++ b/invesalius/constants.py @@ -155,13 +155,14 @@ WINDOW_LEVEL = {"Abdomen":(350,50), "Lung - Soft":(1600,-600), "Lung - Hard":(1000,-600), "Mediastinum":(350,25), - "Other":(None, None), #Case the user change window and level + "Manual":(None, None), #Case the user change window and level "Pelvis": (450,50), "Sinus":(4000, 400), "Vasculature - Hard":(240,80), "Vasculature - Soft":(650,160)} -REDUCE_IMAGEDATA_QUALITY = 1 +REDUCE_IMAGEDATA_QUALITY = 1 + # if 1, use vtkVolumeRaycastMapper, if 0, use vtkFixedPointVolumeRayCastMapper TYPE_RAYCASTING_MAPPER = 0 diff --git a/invesalius/control.py b/invesalius/control.py index 2099490..f1ef345 100755 --- a/invesalius/control.py +++ b/invesalius/control.py @@ -100,7 +100,7 @@ class Controller(): threshold_range = proj.imagedata.GetScalarRange() const.WINDOW_LEVEL['Default'] = (window, level) - const.WINDOW_LEVEL['Other'] = (window, level) + const.WINDOW_LEVEL['Manual'] = (window, level) const.THRESHOLD_OUTVALUE = threshold_range[0] const.THRESHOLD_INVALUE = threshold_range[1] diff --git a/invesalius/data/viewer_slice.py b/invesalius/data/viewer_slice.py index f0117cf..474005b 100755 --- a/invesalius/data/viewer_slice.py +++ b/invesalius/data/viewer_slice.py @@ -251,7 +251,7 @@ class Viewer(wx.Panel): "WL: %d WW: %d"%(self.acum_achange_level,\ self.acum_achange_window)) - const.WINDOW_LEVEL['Other'] = (self.acum_achange_window,\ + const.WINDOW_LEVEL['Manual'] = (self.acum_achange_window,\ self.acum_achange_level) ps.Publisher().sendMessage('Check window and level other') diff --git a/invesalius/gui/widgets/slice_menu.py b/invesalius/gui/widgets/slice_menu.py index 0daf456..b0fb896 100644 --- a/invesalius/gui/widgets/slice_menu.py +++ b/invesalius/gui/widgets/slice_menu.py @@ -43,12 +43,12 @@ class SliceMenu(wx.Menu): #Case the user change window and level new_id = self.other_wl_id = wx.NewId() wl_item = wx.MenuItem(submenu_wl, new_id,\ - 'Other', kind=wx.ITEM_RADIO) + 'Manual', kind=wx.ITEM_RADIO) submenu_wl.AppendItem(wl_item) self.ID_TO_TOOL_ITEM[new_id] = wl_item for name in sorted(const.WINDOW_LEVEL): - if not(name == 'Default' or name == 'Other'): + if not(name == 'Default' or name == 'Manual'): new_id = wx.NewId() wl_item = wx.MenuItem(submenu_wl, new_id,\ name, kind=wx.ITEM_RADIO) -- libgit2 0.21.2