[vtkusers] How to pick vtkTextActor?
Alex Malyushytskyy
alexmalvtk at gmail.com
Thu Aug 29 18:30:07 EDT 2013
Try to set PickableOn<http://www.vtk.org/doc/nightly/html/classvtkProp.html#a60f7f6d627121b61af26e39b5e6a6bf6>()
on vtkTextActor.
I am not sure but I would disable it by default for text.
Enable it and check again.
Alex
On Tue, Aug 27, 2013 at 7:49 PM, ysa0829 <ysa0829 at gmail.com> wrote:
> Hi All,
>
> Is there a way to pick vtkTextActor? I tried with vtkCellPicker and
> vtkPropPicker, both are not picking the vtkTextActor. This is the piece
> of code that I used to define the picker and to pick my text actor.
>
> this->propPicker = vtkPropPicker::New();
> this->propPicker ->AddPickList (this->TxtActor);
> this->propPicker ->PickFromListOn();
> ....
> ....
> ....
> ....
> ....
> ....
>
>
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/How-to-pick-vtkTextActor-tp5723075.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130829/80d957a0/attachment.htm>
More information about the vtkusers
mailing list