Hi everyone,
I have a series of image volumes with different resolutions, and I’m developing a visualization tool with some UI features for the users to navigate different resolutions. I want to set up a limit for vtkInteractorStyleTrackballCamera::OnMouseWheelForward()
, so that when the user keeps scrolling the wheel, it will eventually change switch to another volume of the same area but with lower resolution.
I notice that there’s vtkCamera::zoom()
where one can explicitly specify a factor to decide how much to zoom an object. I understand that this factor is probably a relative scaling factor with respect to the current state of the object, so there’s no ‘Get’ method provided for this factor. Is there a way to measure how much an object has been zoomed in or out?
Thank you so much in advanced!