[vtkusers] Re: vtkimageActor mouse picking and picked position
nora mohamedi
nooryc_26 at yahoo.fr
Thu Sep 2 08:34:39 EDT 2004
thanks for your reply but i didn't help
I need to pick an image inside a vtkRenderwindow, I can get the position of the picked point inside the vtkRenderwindow but not its coordinates inside the rendrer image.
I want to know how to get a vtkimageactor position inside a vtkRenderWindow. So far I can get the mouse position inside the vtkRenderWindow but not the corresponding pixel coordinates of the vtkImageactor displayed inside the vtkImageActor.
Please could anyone send a code that is already used or help on this issue
Thanks
Goodwin Lawlor <goodwin.lawlor at ucd.ie> wrote:
Have a look here: http://www.vtk.org/Wiki/VTK_Mouse_Picking
Please add to it if you get any further ideas.
hth
Goodwin
"nora mohamedi" wrote in message
news:20040901141526.86236.qmail at web60906.mail.yahoo.com...
Hi,
I am newbie at vtk and in my application, I need to display an MRI image and
interact with the mouse on it to draw on it. So far I can display the Image,
I can pick it with the mouse but I don't know how to get the 2D coordinates
of the picked position in the image domain. I can only get the position
using " GetLastEventPosition" but inside the render window and not the image
itself. Could anyone help on this matter ?
thanks
Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
Créez votre Yahoo! Mail
Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés
pour dialoguer instantanément avec vos amis. Téléchargez GRATUITEMENT ici !
_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at:
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at:
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
---------------------------------
Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
Créez votre Yahoo! Mail
Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis.Téléchargez GRATUITEMENT ici !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040902/03f01bf0/attachment.htm>
More information about the vtkusers
mailing list