[vtkusers] Picking points from (multiple) vtkStructuredGrids using vtkPointPicker

da xu remywendy at gmail.com
Mon Aug 3 15:19:22 EDT 2009


Hey all,
My question is regarding the vtkPointPicker class. I'm trying to use it to
pick some points from my window (which consists of a few
vtkStructuredGrids). It works fine, returning the Index of the point picked
of some vtkStructuredGrid, but how can I also know which vtkStructuredGrid I
picked from? I tried to use the vtkPointPicker->GetDataSet() method, but the
return dataset was not ANY of the vtkStructuredGrids I had on my render
window. Is there another class I can use?

Thanks!
Will
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090803/48e43b21/attachment.htm>


More information about the vtkusers mailing list