[vtkusers] Ray interesection with volume - finding the mouse position

polys_poly at hotmail.com polys_poly at hotmail.com
Thu May 8 08:14:12 EDT 2008


Hello,

Currently i am creating a volume of a DICOM Dataset. The interactor i am using is vtkInteractorStyleTrackballCamera. 
What i want to do is finding the mouse pointer location on the rendering window, and then finding the ray that connects the position of the camera with the mouse position so i can find the points of the volume or the actors that this ray intersects.

I would appreciate any help on this subject.

Thanks,
Polys
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080508/1749daa4/attachment.htm>


More information about the vtkusers mailing list