[vtkusers] vtkLookupTable
Will Schroeder
will.schroeder at kitware.com
Wed May 7 08:32:30 EDT 2003
Hi Shyam-
One idea: you can create cell scalars that are RGBA (color) tuples of type
unsigned char. Set the color of the picked cell to the appropriate color
(you will have to call Modified() on the data array containing the RGBA
tuples and re-render).
Will
At 04:13 PM 5/7/2003 +0530, R K Shyamprakash wrote:
>Hi,
> When cells of my vtkActor is picked I change the color of these
>cells by changing their scalar value. How can I set the desired
>color(currently the color is decided by VTK internally depending on the
>scalar value) to the picked cells. I feel I should be using vtkLokkupTable,
>but I am not sure how. Can some body help?
More information about the vtkusers
mailing list