[vtkusers] Tubes

jnorris at uiuc.edu jnorris at uiuc.edu
Tue Oct 24 18:22:32 EDT 2000


Once upon a time, Totte Karlsson wrote:
> Dear all,
> I have a 3d trajectory which I visualize simply as a polyline. I wanted to 
> make the trajectory look thicker so I used the vtkTubeFilter thing. 
> However, it seems as this works fine for straight poly lines, but when the 
> trajectory is "curved", and the points are not so close the tube thing 
> doesn't work (it looks ugly since the tube become discontinous). Is there 
> anything else in vtk I can use to get a smoth tube along a 3D trajectory?
> regards totte

Perhaps you could use the vtkProperty::SetLineWidth() method to make your
lines thinker, without resorting to wrapping them with tubes.

John
-- 
John Norris
Research Programmer
Center for Simulation of Advanced Rockets
http://www.uiuc.edu/ph/www/jnorris




More information about the vtkusers mailing list