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

polys_poly at hotmail.com polys_poly at hotmail.com
Tue May 6 10:49:49 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 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/20080506/b42f7765/attachment.htm>


More information about the vtkusers mailing list