[vtkusers] vtkActor rotate -> update underlying data

David Gobbi david.gobbi at gmail.com
Tue Feb 2 10:05:05 EST 2016


Hi Michal,

The actors and mappers never modify the data, but the data can be
rotated with vtkTransformPolyDataFilter via its SetTransform method.

 - David


On Tue, Feb 2, 2016 at 5:00 AM, michalgallovic <gallovic at 3cky.sk> wrote:

> Hellou guys.
>
> If I use i.e. actor->RotateX(90) on the vtkActor object, it rotates the
> object on the screen, but does not change the 3d coordinates of the
> underlying data. How can I tell the data ( btw is it vtkPolyData or
> vtkPolyDataMapper? ) to update its coordinates ?
>
> Or should I do it differently - rotate/translate the underlying data, and
> every time update mapper and actor ?
>
> thank you
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160202/df89bea4/attachment-0001.html>


More information about the vtkusers mailing list