[vtkusers] vtkLookupTable reacts to rotating actor

Beatrix Schober beatrix.schober at gmail.com
Fri Dec 8 09:34:07 EST 2017


Hi,

I am wondering how to solve following problem:

I have vtkPolyData (with x, y, z values, whereas z values as grayvalue
defines the "height") and use the vtkLookupTable to display the points in
colors (heatmap).

If I rotate or translate the actor with the mouse, the data does not
change, but the lookup table is not correct any more. The same issue with
calling scale on the actor.

I also thought about changing the z value of vtkPolyData after scaling, but
still I do not know, how to handle the rotation or translation of the actor
with the mouse...

How can I adapt the lookup table, which should fit the scale then?

Thank you very much for your hints!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20171208/3048e7bf/attachment.html>


More information about the vtkusers mailing list