[vtk-developers] Compute view bounds

jojo1309 johann.mazzella at gmail.com
Wed Oct 12 13:53:25 EDT 2011


Hi,

I'm new to VTK, so maybe my problem is very simple.

I can dispay a planesource, I can zoom in and out with the wheel mouse, and
I can pan it.

My problem know is that I would like to avoid pan or zoom if it goes outside
the planesource. I'd like the view to stay inside the planesource. (the view
stays orthogonal to the plane)

I was looking for a way to get the viewbounds and to block the pan or the
zoom if it goes outside, but maybe there's a better way.

Thanks a lot for your help, and sorry for my poor english....

--
View this message in context: http://vtk.1045678.n5.nabble.com/Compute-view-bounds-tp4896407p4896407.html
Sent from the VTK - Dev mailing list archive at Nabble.com.



More information about the vtk-developers mailing list