[vtkusers] vtkLookupTable reacts to rotating actor
Cory Quammen
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:
> 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!
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
--
Cory Quammen
Staff R&D Engineer
Kitware, Inc.
More information about the vtkusers
mailing list