coloring streamlines

Uwe Kroiss uwe_kroiss at
Wed Sep 8 03:08:18 EDT 1999

Hi VTK-users!

I create streamlines from an unstructured grid
with cell- and point-data (vectors and scalars)
using vtkStreamLine.

I set SpeedScalarsOff() 
(according to the man-pages this should tell 
vtkStreamer to use scalar-values 
instead of vector-magnitudes), 
but the coloring of the streamlines is 
not as it should be (when using 
scalars with the corresponding lookup-table).

The same thing happens with visualization of 
velocity-vectors (using vtkGlyph3d, 
SetColorModeToColorByScalar() already set).

Can somebody tell me what is wrong?




Do You Yahoo!?
Bid and sell for free at

This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.

More information about the vtkusers mailing list