OHIF / Viewers

OHIF zero-footprint DICOM viewer and oncology specific Lesion Tracker, plus shared extension packages
https://docs.ohif.org/
MIT License
3.29k stars 3.32k forks source link

How can I change the mouse scrolling step in 2D MPR(VTK extension) #2523

Closed lannyyip closed 3 years ago

lannyyip commented 3 years ago

As I need the 2D MPR function to view the OCT images of small organs, the spacing information is set rightly and images can be viewed under 2D MPR mode. But when I scroll mouse, the crosshairs move greatly (about 1mm in real world). This brings great inconvinience to operations.

Questions: How can I change the scroll steps in 2D MPR(VTK extension)? I tried to find answers in code, but failed. I found that VTKplugin repository, step is set to spacing value, which is the right behavior I expected, but can not find any clue in Viewers repository and react-vtkjs-viewport repository. Could you please give me a hand on this. Thank you!

Lanny

lannyyip commented 3 years ago

I found the place the change the step. It could be hardcoded to a certain value, but not easy to set to spacing.