[vtkusers] 'grouping' actors for interaction?

David Doria daviddoria at gmail.com
Fri Sep 6 06:36:31 EDT 2013


On Thu, Sep 5, 2013 at 11:50 PM, Perryn Fowler <pezlists at gmail.com> wrote:
> Hello,
>
> I am working on a visualisation that involves rendering the same volume
> twice with different opacity and colour settings. This allows us to show one
> way of looking at the volume data 'overlaid' with another way.
>
> The only problem is that in 'actor' mode, the interactor allows/forces you
> to interact with the volumes independently. So, if you rotate, only one of
> our 'views' rotates.
>
> Is there a way of 'grouping' actors for interaction so that they would
> rotate together?
>
> Failing that, is there a better way of obtaining the effect we want without
> rendering two volumes?
>
> cheers
> Perryn

I'm not sure if it will work with volumes, but have you tried an Assembly?

http://www.cmake.org/Wiki/VTK/Examples/Cxx/Interaction/Assembly

David



More information about the vtkusers mailing list