[vtkusers] Getting Original 3d Point co-ordinate on mouse hover
Alex Malyushytskyy
alexmalvtk at gmail.com
Tue Apr 2 22:37:17 EDT 2013
First of all I have not ever used Java with VTK, so I am not sure even if
appropriate Java wrappers for the classes I mention below exists.
Your problem is naturally split in 2 different problems:
1. How to pick point under cursor.
Look at vtkPointPicker documentation, there are more examples available on
the web, like below, just google :
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Interaction/MoveAVertexUnstructuredGrid
2. How to initiate point picking on mouse hover.
I am not normally using VTK for such thing,
but I guess vtkHoverWidget<http://www.vtk.org/doc/nightly/html/classvtkHoverWidget.html>should
help you to achieve this if you do not want to use system native
solutions,
I personally using QT for such things, think Java may provide an event
handler.
Alex
On Tue, Apr 2, 2013 at 3:27 PM, mahendra <mahendra123awale at gmail.com> wrote:
> anyone?
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/Getting-Original-3d-Point-co-ordinate-on-mouse-hover-tp5719771p5719787.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130402/d6844970/attachment.htm>
More information about the vtkusers
mailing list