[vtkusers] Mappers and vtkLookupTable

David Gobbi david.gobbi at gmail.com
Thu Feb 18 11:43:53 EST 2016


On Thu, Feb 18, 2016 at 9:32 AM, Allen Sanderson <allen at sci.utah.edu> wrote:

>
> Hello,
>
> A followup question with the vtkTubeFilter and vtkRibbonFilter. If the
> input vtkPolyData contains objects other than lines the filter strips those
> objects out only return the tubes or ribbons. Is there a way to prevent
> this from happening? Or does one need to handle that themselves?
>

I think that it would be a great feature if vtkTubeFilter had an option to
pass polygons directly to the output.  Unfortunately, right now there isn't
any way to do this without changing the vtkTubeFilter source code.

Instead, you can use vtkAppendPolyData to append the original data onto the
output you get from vtkTubeFilter.  Of course, this means that your tubes
will have the lines put back inside of them, but that should be harmless.

 - David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160218/52d06307/attachment.html>


More information about the vtkusers mailing list