[vtkusers] vtkLookupTable reacts to rotating actor
cory.quammen at kitware.com
Fri Dec 8 10:14:17 EST 2017
Hmm, I'm not sure I understand what you want to see. Do you want the
colors on the polydata to change so that they correspond to the z
value after rotating or translating the actor?
On Fri, Dec 8, 2017 at 9:34 AM, Beatrix Schober
<beatrix.schober at gmail.com> wrote:
> 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!
> Powered by www.kitware.com
> Visit other Kitware open-source projects at
> Please keep messages on-topic and check the VTK FAQ at:
> Search the list archives at: http://markmail.org/search/?q=vtkusers
> Follow this link to subscribe/unsubscribe:
Staff R&D Engineer
More information about the vtkusers