I don't know what you want exactly but if you want to find the points of the volume or the actors picked by the mouse you have in the VTK nightly version :<br><br><a href="http://www.vtk.org/doc/nightly/html/classvtkPointPicker.html">http://www.vtk.org/doc/nightly/html/classvtkPointPicker.html</a><br>
<a href="http://www.vtk.org/doc/nightly/html/classvtkPropPicker.html">http://www.vtk.org/doc/nightly/html/classvtkPropPicker.html</a><br><br>To get the mouse position :<br><br><a href="http://www.vtk.org/doc/nightly/html/classvtkRenderWindowInteractor.html">http://www.vtk.org/doc/nightly/html/classvtkRenderWindowInteractor.html</a><br>
<br>You are working with what programming language ? C++ ? Java ? other ? To get the mouse position it's change with the language. For example in java you create a vtkCanvas to draw the rendering and override the methode MouseMoveEvent(MouseEvent e) to get the new position of the mouse when it moves and get the position with e->x and e->y...<br>
<br>This answers your question ?<br><br><div class="gmail_quote">2008/5/8 <<a href="mailto:polys_poly@hotmail.com">polys_poly@hotmail.com</a>>:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="padding-right: 10px; padding-left: 10px; padding-top: 15px;" bgcolor="#ffffff" name="Compose message area">
<div>
<div><font face="Arial" size="2">Hello,</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Currently i am creating a volume of a DICOM
Dataset. The interactor i am using is <font size="2">vtkInteractorStyleTrackballCamera. </font></font></div>
<div><font face="Arial" size="2"><font size="2">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.</font></font></div>
<div><font face="Arial" size="2"><font size="2"></font></font> </div>
<div><font face="Arial" size="2"><font size="2">I would appreciate any help on this
subject.</font></font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Thanks,</font></div>
<div><font face="Arial" size="2">Polys</font></div></div></div>
<br>_______________________________________________<br>
This is the private VTK discussion list.<br>
Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><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>
<br></blockquote></div><br><br clear="all"><br>-- <br>Julian Ibarz