[vtkusers] vtkLookupTable

Artem Babayan artem.paraview at googlemail.com
Tue Jul 19 09:48:42 EDT 2011


Hi,

Can somebody tell me, how vtkLookupTable decides which color assign to
which value. E.g. in case:

     lut->SetNumberOfTableValues(3);
     lut->SetTableRange(0, 6);
     lut->Build();
     for(int i = 0; i < 3; ++i)
     {
       lut->SetTableValue(i, r[i], g[i], b[i], 1);
     }

How to find out the range of values corresponding to each of 3 colors?
Is it possible to regulate somehow this range (i.e. have smaller
intervals for some colors and larger intervals for another)?

Thank you for help
Artem



More information about the vtkusers mailing list