[vtkusers] InfoVis: Setting vertex color LUT range?

Eric E. Monson emonson at cs.duke.edu
Fri Jan 9 21:47:47 EST 2009


Hey folks,

To color vertices according to an array that contains both positive  
and negative values, I need to build a diverging color map (lookup  
table) and force the scalar range that's mapped over these colors to  
be centered on zero:

1.  If I'm using a vtkGraphLayoutView, is there any way to force the  
lookup table to cover a certain range of values (rather than the real  
range of the vertex scalar array)?

2.  Is there a way with a theme to set a lookup table that's been  
built separately (rather than using ranges for hue, saturation, etc.)  
for extra control over the color map?

It would be very cool if within a theme, or someplace handy like that,  
you could set the scalar range and the "Color Space" like when you use  
the Color Scale Editor in ParaView...

Thanks,
-Eric

------------------------------------------------------
Eric E Monson
Duke Visualization Technology Group



More information about the vtkusers mailing list