This actually works backwards for me, but I think that's because my camera is flipped. Where is the source for this, I might be able to just implement it correctly for me myself.<div><br></div><div>But this is the idea that I had.<br>
<br><div class="gmail_quote">On Wed, Oct 20, 2010 at 9:40 AM, Jothy <span dir="ltr"><<a href="mailto:jothybasu@gmail.com">jothybasu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div dir="ltr">Click which about which point you wan tot zoom, then press"F" key.<br><br>Jothy<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Wed, Oct 20, 2010 at 5:36 PM, Jonathan Morra <span dir="ltr"><<a href="mailto:jonmorra@gmail.com" target="_blank">jonmorra@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div><div></div><div class="h5">I have a vtkImageViewer2 that I wish to zoom in on. I have applied the vtkInteractorStyleImage to the image, and I can zoom using the right mouse button. However, this always zooms in on the center of the image. I'd like to center the zoom on the location that the mouse was initially clicked on. Does anyone have an example of how to do this?<div>
<br></div><div>Thanks</div><div><br></div><div>PS I'm working in Java</div>
<br></div></div>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>