Thanks for the help, I'll have a look at those examples.<br><br><div class="gmail_quote">On Thu, Oct 7, 2010 at 7:37 PM, <a href="mailto:egk865@yahoo.com">egk865@yahoo.com</a> <span dir="ltr"><<a href="mailto:egk865@yahoo.com">egk865@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">You can get mouse information by adding a mouse listener on the vtkCanvas<br>
to listen to mouse events. I added an example on the wiki showing how to<br>
do this (see the Swing Integration section there). It shows in a JLabel in<br>
the status bar the point the mouse is hovering over using a mouse listener<br>
and a vtkCellPicker.<br>
<br>
Thanks,<br>
Eli<br>
<div class="im"><br>
<br>
> OK, so maybe my last email wasn't<br>
> specific enough, so here's a very specific<br>
> question. I have a vtkCanvas onto which I put a<br>
> vtkImageViewer2. I wish to<br>
> have crosshairs show on the image where the user<br>
> clicks. I also wish to get<br>
> the point clicked information during the mouse event so<br>
> that I can display<br>
> that to the user in a JLabel. Any ideas?<br>
><br>
> Thanks<br>
<br>
<br>
<br>
<br>
</div><div><div></div><div class="h5">_______________________________________________<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>
</div></div></blockquote></div><br>