OHIF/VTKPlugin

Making this a separate issue. Zoom level must be computed from camera distance AND size of viewport on resize.

Closed this issue · 3 comments

To match OHIF's zoom level, we must compute the scaling percentange (assumption is 1.0 is pixel to screen pixel(?)) from both the camera distance and the size of the viewport (when the user resizes).

Zoom level is computed by calculating the size of the "slice" on the screen divided by the size of the image (for that slice, including the spacing).

This is now displayed on the screen in rf-plugin7
A test image was created and measured.
vtk100pcttest

This isn't super important, you can skip it for now.