try Polydata-&gt;GetPointData()-&gt;<span style="font-weight: bold;">GetScalars()</span>-&gt;GetTuple(id)<br><br>best regards,<br>sugeng<br><br><br><div><span class="gmail_quote">On 1/1/07, <b class="gmail_sendername">Xiaobin Wang
</b> &lt;<a href="mailto:xiaobin2006@gmail.com">xiaobin2006@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi ,all
<br>&nbsp;Happy New Year!<br>&nbsp;I want to use vtkPointPicker to pick out the requested scalars attached to&nbsp; a&nbsp; PolyData&nbsp; dataset.<br>&nbsp;First, the method GetPointId() in&nbsp; vtkPointPicker returns the point Id of the picked one (through the 
<br>&nbsp;mouse) ;Second, Polydata-&gt;GetPointData()-&gt;GetTuple(id). However , I cannot get the correct data.<br>&nbsp;It seems the GetTuple() method is obsolete .<br><br>&nbsp;Anybody can help ? <br>&nbsp;Any idea will be greatly appreciated .
<br>&nbsp;<br>

<br>_______________________________________________<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a onclick="return top.js.OpenExtLink(window,event,this)" 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 onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers
</a><br><br><br></blockquote></div><br><br clear="all"><br>-- <br>sing enom ngormati sing tua, sing tua nyontoni sing bener