Hi!<br>Maybe this explanation written by <span class="small">Mark Wyszomierski (thanks Mark!) </span>could help:<br><a href="http://devsample.org/index.php?option=com_content&task=view&id=48&Itemid=27">http://devsample.org/index.php?option=com_content&task=view&id=48&Itemid=27</a><br>
Anka<br><br><br><br><div class="gmail_quote">On Fri, Nov 6, 2009 at 9:17 AM, David Doria <span dir="ltr"><<a href="mailto:daviddoria%2Bvtk@gmail.com">daviddoria+vtk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="gmail_quote"><div class="im">On Fri, Nov 6, 2009 at 8:53 AM, superzz <span dir="ltr"><<a href="mailto:jxdw_zlf@yahoo.com.cn" target="_blank">jxdw_zlf@yahoo.com.cn</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hello<br>
I am developping a volume rendering program.<br>
<br>
I'm using vtkInteractorStyleTrackballCamera as InteractorStyle and vtkPlane<br>
to cut volume. When user click the screen, my program needs to calculate and<br>
output the 3D intersection point to vtkPlane.<br>
<br>
I know how to do this in my XNA/directX program, but not familiar with the<br>
corresponding API of VTK. Googled for more than 3 hours but finally failed<br>
to find out what API should be used. Please help me.<br>
<br>
Thanks<br>
<br>
superZz<br></blockquote></div><div><br>This is a very good question. I believe you have to add an observer or something? Here is the shell of an example of this: <a href="http://www.vtk.org/Wiki/Plane_Picking" target="_blank">http://www.vtk.org/Wiki/Plane_Picking</a><br>
<br>Can anyone make it output the coordinates of the point that is clicked?<br>
<br clear="all">Thanks,<br><br>David<br>
<br></div></div><br>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<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>