I use vtkImagePlaneWidget to display a image. the default operation is leftbutton change window/level, now I need to rightbutton change window/level, how can I do?
In current Slicer version, window/level has a separate mouse mode.
If you still want to change the interaction event (mouse move, clicks, etc.) to widget event (adjust window/level, reset window/level, etc.) mapping then it can be done here just by modifying a few lines. If necessary, we can expose these in Python, too. At some point, we’ll make this mapping editable from the user interface, too.