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

Wenlong Wang scc.wwl at gmail.com
Wed Oct 12 08:12:50 EDT 2011


Wow, you are really an expert! You got me. I did use TrackballActor. Now I
changed to TrackballCamera, and it works.

Thank you so much.

Wenlong

2011/10/11 David Doria <daviddoria at gmail.com>

>  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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111012/ce2187b9/attachment.htm>


More information about the vtkusers mailing list