[vtkusers] How to manipulate multiple actors at the same time

David Doria daviddoria at gmail.com
Tue Oct 11 16:18:44 EDT 2011


On Fri, Oct 7, 2011 at 2:59 PM, Wenlong Wang <scc.wwl at gmail.com> wrote:
> Dear friends,
>
> I've got a problem. I have two actors share the same renderer, render window
> and interactor. And I applied 'trackball' style in my interactor.
>
> However, I can only drag or zoom the actor which is 'selected' by the mouse.
>
> My question is, how can I move and zoom in/out these two actors at the same
> time?
>
> Thank you very much for your kind help. Many thanks in advance!
>
> Bests
> Long

I bet you used vtkInteractorStyleTrackballActor. Try
vtkInteractorStyleTrackballCamera and see if that is what you're
looking for.

David



More information about the vtkusers mailing list