[vtkusers] using vtkPointPicker to retrieve the scalar attribute
Xiaobin Wang
xiaobin2006 at gmail.com
Mon Jan 1 03:54:26 EST 2007
Hi ,all
Happy New Year!
I want to use vtkPointPicker to pick out the requested scalars attached to
a PolyData dataset.
First, the method GetPointId() in vtkPointPicker returns the point Id of
the picked one (through the
mouse) ;Second, Polydata->GetPointData()->GetTuple(id). However , I cannot
get the correct data.
It seems the GetTuple() method is obsolete .
Anybody can help ?
Any idea will be greatly appreciated .
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070101/fe29c0c3/attachment.htm>
More information about the vtkusers
mailing list