[vtkusers] vtkPicker

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Tue Jul 16 23:27:57 EDT 2002


>>>>> "PS" == Parvaneh Saeedi <parvanes at ece.ubc.ca> writes:

    PS> I have tried the vtkCellpicker, I can get the cell how ever I
    PS> can not find away to get the corresponding actor.

cp = CellPicker()
# pick point
cp.Pick(...)

cp.GetCellId()

mapper = cp.GetMapper()
actor_collection = cp.GetActors()

Please read the docs for the relavant classes.  All these methods are
definitely documented.

prabhu




More information about the vtkusers mailing list