[vtkusers] vtkTubeFilter with independently varying radius and color
Marcus Thamson
markie_thomson at yahoo.de
Mon Dec 28 03:44:14 EST 2009
Hi all,
Whoops - it appears that the code in the last post is not working properly: By using SetScalars twice (first tube radii scalars, then RGB values), the tube radii are just set to one of the components of the RGB array, i.e. overwriting the initial radius scalars.
Is there a way to use cell data to get a second array into the polydata, and use mapper.SetScalarModeToUseCellData()?
Regards, MT
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
More information about the vtkusers
mailing list