[vtkusers] Build One Lookup Table For Two Different Scalar Groups

Janny Dong janny.dong at gmail.com
Mon Sep 24 07:58:07 EDT 2007


Hello,

I have some 2D polygons and corresponding scalars.One group of scalars is
between 50 and 51, the other is 100. I'd like to build a color lookup table
for those two groups of scalar data. For scalars between 50 and 51, I want
the colors to be linearly interpolated between red and blue. I want 100 to
be mapped as black. I don't want any interpolation between those two groups.
I know how to build lookup tables separately for these two different cases.
Is it possible to make such a lookup table?

I have not got any answer to my past few questions. Please help me with this
one.

Thanks,
Janny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070924/c2a4faf5/attachment.htm>


More information about the vtkusers mailing list