Commit 5db005d19fccae7a61772bc7ad090941889ddb61
1 parent
24498137
Exists in
master
and in
6 other branches
ADD: Window and level other option
Showing
1 changed file
with
7 additions
and
2 deletions
Show diff stats
invesalius/data/viewer_slice.py
... | ... | @@ -243,6 +243,11 @@ class Viewer(wx.Panel): |
243 | 243 | ps.Publisher().sendMessage('Update window and level text',\ |
244 | 244 | "WL: %d WW: %d"%(self.acum_achange_level,\ |
245 | 245 | self.acum_achange_window)) |
246 | + | |
247 | + const.WINDOW_LEVEL['Other'] = (self.acum_achange_window,\ | |
248 | + self.acum_achange_level) | |
249 | + ps.Publisher().sendMessage('Check window and level other') | |
250 | + | |
246 | 251 | self.interactor.Render() |
247 | 252 | |
248 | 253 | |
... | ... | @@ -253,8 +258,8 @@ class Viewer(wx.Panel): |
253 | 258 | def UpdateWindowLevelValue(self, pubsub_evt): |
254 | 259 | window, level = pubsub_evt.data |
255 | 260 | self.acum_achange_window, self.acum_achange_level = (window, level) |
256 | - | |
257 | - | |
261 | + | |
262 | + | |
258 | 263 | def OnChangeSliceMove(self, evt, obj): |
259 | 264 | |
260 | 265 | min = 0 | ... | ... |