[vtkusers] Isolines, polylines and tubes

Chris Want cwant at ualberta.ca
Wed Feb 28 12:59:04 EST 2007


Bill Lorensen wrote:
> Use vtkStripper between the contour filter and the tube filter.
> 
> Bill

That indeed did the trick, thanks!

praveen tayal wrote:
 > I am not sure as why would the tubes have disconnections? I guess, for a
 > tube the end point radius is same as the start point radius of the next
 > tube. and when the polyline points change value the tube will update
 > automatically.

Hi Praveen,

The tubes have disconnections because the input isolines are composed
of little disconnected line segments -- the vtkStripper merges
these little line segments into one long connected polyline which the
vtkTubeFilter will then use to create a nice long connected tube.

Thanks all,
Chris

-- 
  ____________________________________________________________________
( Chris Want                                                         )
( Research Computing Support                                         )
( Academic Information and Communication Technologies (AICT)         )
( University of Alberta                                              )
( Tel: 1-780-492-9418                                                )
  --------------------------------------------------------------------




More information about the vtkusers mailing list