[vtkusers] Have cameras/interactors synchronized between two QVTKWidgets
Hong Yi
hongyi at renci.org
Tue Feb 8 11:41:12 EST 2011
Hello,
I have two QVTKWidget windows and try to add an option to have these two windows synchronized when interacting with either window such as zooming, rotating, etc. I know each QVTKWidget has its own interactor. I am thinking perhaps I could make these two QVTKWidgets share the same interactor style. So I tried to get Interactor Style out of one QVTKWidget window and set it to the other QVTKwidget window interactor style, but it does not work. Another way I can think of is to add observer and write my own callback to one window to force camera of the other window in sync with it. Before embarking on doing it, I am asking the list to see whether anybody has suggestions on the simple and best way to achieve this.
Thanks for any suggestions and pointers,
Hong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110208/74abfc49/attachment.htm>
More information about the vtkusers
mailing list