[vtkusers] Color coding of a vector field
Josh Snyder
jsnyder at nmr.mgh.harvard.edu
Fri Jun 6 13:33:45 EDT 2003
You can set the red, green, and blue components of the color value to
the x, y, and z components of the vector.
Josh
Fiber-Tracking Site wrote:
> Hi,
>
> I would like to color code a vector field with vtk: I want to use the
> direction
> information of the vector to define its color (for example if the
> vector goes from
> left to right it will be red, from bottom to top: green and from
> anterior to posterior:
> blue). Could someone help me with this?
> Thanks for your help.
>
> Pierre Fillard.
More information about the vtkusers
mailing list