atom feed2 messages in org.vtk.vtkusers[vtkusers] Color coding of a vector f...
FromSent OnAttachments
Fiber-Tracking SiteJun 6, 2003 1:08 pm 
Josh SnyderJun 6, 2003 1:33 pm 
Subject:[vtkusers] Color coding of a vector field
From:Josh Snyder (jsny@nmr.mgh.harvard.edu)
Date:Jun 6, 2003 1:33:23 pm
List:org.vtk.vtkusers

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.