[vtkusers] Transforming a vtkActorCollection

David Doria daviddoria+vtk at gmail.com
Mon Aug 30 15:53:07 EDT 2010


Currently to transform all actors in a collection I am iterating through the
Collection and applying the transform to every actor:(like this:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/TransformActorCollection
 )

There is an ApplyProperties function which lets you set properties of all
the actors without manually iterating through the collection - is there
something like this for transformations? The idea is to create a "compound
object" and be able to move it around all at the same time as if it were a
single object.

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100830/ce5e1309/attachment.htm>


More information about the vtkusers mailing list