[vtkusers] Mappers and vtkLookupTable
Allen Sanderson
allen at sci.utah.edu
Thu Feb 18 13:46:26 EST 2016
Thanks David,
I did an append then stripped out the lines. They are not seen with tubes but they are seen with ribbons.
Cheers,
Allen
Allen Sanderson
SCI Institute
University of Utah
www.sci.utah.edu
> On Feb 18, 2016, at 9:43 AM, David Gobbi <david.gobbi at gmail.com> wrote:
>
> On Thu, Feb 18, 2016 at 9:32 AM, Allen Sanderson <allen at sci.utah.edu <mailto: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/39c87542/attachment.html>
More information about the vtkusers
mailing list