[vtkusers] How to do picking action with vtkCellPicker on multiples vtkDataSet?

David Gobbi david.gobbi at gmail.com
Tue Jun 14 12:02:08 EDT 2011


Hi Romain,

Have you looked at the methods that vtkCellPicker inherits from vtkPicker?

GetDataSet()
GetMapper()
GetProp3D()
GetPickPosition()

 - David


On Tue, Jun 14, 2011 at 9:38 AM, Leguay Romain
<romain.leguay at etu.u-bordeaux1.fr> wrote:
> Hello everyone!
> I display multiple vtkDataSet on my renderer. I try to do a picking and
> display witch vtkDataSet I click. I try to do this with a vtkCellPicker but
> I can just get the selected point and the cellId.
> I don't know how to proceed unless testing for each cell contains my point.
> Has anyone got better ideas?
>
> Thanks,
>
> Romain



More information about the vtkusers mailing list