[vtkusers] Fwd: vtkLookupTable reacts to rotating actor
Beatrix Schober
beatrix.schober at gmail.com
Mon Dec 11 02:53:07 EST 2017
Hi Cory,
yes, that is correct.
Regards,
Bea
-----Ursprüngliche Nachricht-----
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>
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.
_______________________________________________
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20171211/ccc496ad/attachment.html>
More information about the vtkusers
mailing list