Hi,<br><br> I want to use vtkWorldPointPicker to get the 3D value while I'm using mouse left click! Who can tell me how to do that! By the way I won't to use 'P' key to indicate my pick operation. Also I'm confused that how can I give the intial first two values in the following Pick parameters, those are selectionPt[0] and selectionPt[1]. Any idea is appreciated! Thanks a lot! Giving some source code is appreciated.
<br><br><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="md" nowrap="nowrap" valign="top">int vtkWorldPointPicker::Pick </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap="nowrap" valign="top">double </td>
<td class="mdname" nowrap="nowrap"> <em>selectionPt</em>[3], </td>
</tr>
<tr>
<td class="md" align="right" nowrap="nowrap"><br></td>
<td class="md"><br></td>
<td class="md" nowrap="nowrap"><a class="el" href="http://www.vtk.org/doc/release/5.0/html/a01970.html">vtkRenderer</a> * </td>
<td class="mdname" nowrap="nowrap"> <em>renderer</em></td>
</tr>
<tr>
<td class="md"><br></td>
<td class="md">) </td>
<td class="md" colspan="2"><code> [inline]</code></td></tr></tbody></table><br><br> <br>