[vtk-developers] Pick From vtkLineSource added to vtkAppendPolyData

Bhanu Hariharan bhanu at petrotel.com
Wed Sep 11 12:50:16 EDT 2013


I was wondering if someone can help me on how to pick Lines added to a
before adding to Mapper and Actor.

I saw some example where a linesource was added directly to Mapper and

But I have several lines and having an actor for each one will slow things
down considerably. So I use vtkAppendPolyData and add all line sources to
it. I then pass the vtkAppendPolyData thorugh a vtktransform and vtktube
filter before adding to mapper and actor.

Can someone please tell me if its possible to use vtkPropPicker or
VtkPicker with vtkAppendPolyData.
Also once picked how can I tell which line was picked. Can I assign a
global Id to each line?



*DISCLAIMER*: This e-mail and any files transmitted with it ("Message") is 
intended only for the use of the recipient(s) named above and may contain 
confidential information. You are hereby notified that the taking of any 
action in reliance upon, or any review, retransmission, dissemination, 
distribution, printing or copying of this Message or any part thereof by 
anyone other than the intended recipient(s) is strictly prohibited. If you 
have received this Message in error, you should delete this Message 
immediately and advise the sender by return e-mail. Opinions, conclusions 
and other information in this Message that do not relate to the official 
business of PETROTEL  or its affiliated Companies shall be understood as 
neither given nor endorsed by PETROTEL or any of its affiliated companies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20130911/63b9781a/attachment.html>

More information about the vtk-developers mailing list