[vtkusers] rotating two objects together....

David Doria daviddoria at gmail.com
Mon Feb 20 09:47:26 EST 2012


On Mon, Feb 20, 2012 at 9:26 AM, ankitramani <ankitvtk at googlemail.com> wrote:
> Hello,
>
> I want to rotate and drag two objects(dicom and actor) together. But when i
> click on cylinder actor, cylinder only move not dicom object..
> help me
>
> thank you..

Are the two objects in different renderers? If so, moving the camera
instead of the object and linking the cameras would do the trick:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Utilities/ShareCamera

David



More information about the vtkusers mailing list