[vtkusers] help on scalar color mapping
zhigao
chen0136 at ntu.edu.sg
Wed Jul 22 05:31:04 EDT 2009
What i am trying to color are boxes. I have a scalar array which ranges from
0 to 3000, and i would like it to map in a way which is not evenly spaced,
for exampe:
0-1 red
1-3 green
3-6 blue
6-12 purple
12-20 another color
20-40 another color
...
20000-30000 another color
I check the codes about the vtkLookupTable, it seems like it will equally
divided the range according to the number of color which is not i want. And
i also want the scalar bar to shown in the way above. How should i realize
it?
Any help would be appreciated. Thanks
--
View this message in context: http://www.nabble.com/help-on-scalar-color-mapping-tp24601493p24601493.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list