[vtkusers] picking text

Clinton Stimpson clinton at elemtech.com
Thu Nov 13 13:03:13 EST 2008


clinton at elemtech.com wrote:
> Hi,
>
> Does anyone know of an example showing how to pick text labels?
> Or know what type of vtkAbstractPicker will work for picking labels?
>
> Thanks,
> Clint
>   
To partly answer my question:
It works with a vtkTextActor added to the renderer using a vtkPropPicker.

But if I use a vtkLabeledDataMapper/vtkActor2D, it can't find which 
label was picked, not does it seem to pick the vtkActor2D correctly for 
all possible mouse coordinates if any of the labels were under the mouse.

Clint




More information about the vtkusers mailing list