[vtkusers] Best way to store multiple vtkActors using C++

David Doria daviddoria at gmail.com
Tue Jan 6 08:57:37 EST 2015

On Tue, Jan 6, 2015 at 5:53 AM, Student Life <lifestudent37 at gmail.com>

> Hi,
> I basically want to store multiple vtkActors within my render window so
> that the user can interact with them. I also want to group some vtkActors
> together
> I was thinking of using a linkedlist, to store each vtkActor.
> I was also thinking of grouping multiple vtkActors so that they can be
> interacted with and rotated in unison. I was thinking of doing this using a
> vtkAssembly, but I'm not too sure.
> I am new to VTK and would greatly appreciate some help/advice.
> Many thanks

Yes, a vtkAssembly is what you want:


Couple this with the vtkInteractorStyleTrackballActor:


and you should be in business.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150106/28663359/attachment.html>

More information about the vtkusers mailing list