Adjust Window Level is not working (nightly release 4.11.0)

(Joost Van Griethuysen) #1

In the latest nigthly release (13-05-2019, windows), adjusting window/level by left-click + dragging is not working anymore. It is still possible to adjust window/level through the Volumes module however.

Furthermore, when checking the interactorstyle, it shows that AdjustWindowLevelForeground and AdjustWindowLevelBackground are enabled.

>>> interactorStyle ='Red').sliceView().sliceViewInteractorStyle()
>>> interactorStyle.GetActionEnabled(interactorStyle.AdjustWindowLevelForeground)
>>> interactorStyle.GetActionEnabled(interactorStyle.AdjustWindowLevelBackground)
(Csaba Pinter) #2

HI Joost,

Mouse modes have recently changed. To window/level you need to switch to W/L mode by clicking on the button on the toolbar that is activated in this screenshot:

1 Like
(Joost Van Griethuysen) #3

@cpinter Thanks! Is there a way to set the default to W/L adjustment on startup?

(Csaba Pinter) #4

You can put this in the

appLogic =
interactionNode = appLogic.GetInteractionNode()
1 Like
(Andras Lasso) #5

See some more information about the feature here: Feedback requested: How to improve mouse interaction in views?