[vtkusers] vtkLookupTable and variable scalar subranges
Luca Pallozzi Lavorante
lplavorante at gmail.com
Thu May 31 15:42:30 EDT 2007
Hi everybody,
I am trying to use vtkLookupTable to map scalar subranges into colors. For
example:
Scalar | Color
700 <= s <= 750 blue
750 < s <= 850 yellow
850 < s <= 1000 green
and so on. Please note that the deltas of the three subranges are different
(50, 100, 150).
Is it possible to do that with the vtkLookupTable class? I have seen there
is a SetTableRange() method to specify a scalar ran ge, but this
range is applied to the entire colormap. How can I specify scalar subranges?
Thank you very much
Luca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070531/a7329f8a/attachment.htm>
More information about the vtkusers
mailing list