[vtkusers] vtkActor rotate -> update underlying data
david.gobbi at gmail.com
Tue Feb 2 10:05:05 EST 2016
The actors and mappers never modify the data, but the data can be
rotated with vtkTransformPolyDataFilter via its SetTransform method.
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...
More information about the vtkusers