[vtkusers] Fwd: vtkLookupTable reacts to rotating actor
beatrix.schober at gmail.com
Mon Dec 11 02:53:07 EST 2017
yes, that is correct.
Von: vtkusers [mailto:vtkusers-bounces at vtk.org] Im Auftrag von Cory Quammen
Gesendet: Freitag, 8. Dezember 2017 16:14
An: Beatrix Schober <beatrix.schober at gmail.com>
Cc: vtkusers <vtkusers at vtk.org>
Betreff: Re: [vtkusers] vtkLookupTable reacts to rotating actor
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>
> 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
Powered by www.kitware.com
Visit other Kitware open-source projects at http://www.kitware.com/
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:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers