[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vtkusers
Subject:    [vtkusers] Multiple render window interaction/synchronization
From:       Félix_C._Morency <felix.morency () gmail ! com>
Date:       2012-07-30 17:46:31
Message-ID: CAG=jP7in2=sU75APJVwaf4ksorpoTjG+G_r7RM1sLqbnGXnApw () mail ! gmail ! com
[Download RAW message or body]

Hi,

Newbie problem here. Similar questions have been asked multiple time
in the past but I couldn't find a proper answer to this issue.

I am trying to implement the 4 panes view thing (axial, coronal,
sagittal and 3D) using four vtkRenderWindow. I want the axial view to
update itself each time I move the vtkImagePlaneWidget in the 3D view.
The same applies for each axis.

Right now, I am using three vtkImagePlaneWidget in the 3D view and
each planar views (axial, etc) has a vtkImageActor. The input of each
vtkImageActor is vtkImagePlaneWidget.GetResliceOutput(). As you might
already know, if I move one vtkImagePlaneWidget in the 3D view, its
corresponding planar view doesn't refresh until I pass the mouse
cursor over the vtkRenderWindow. I tried to add a mouse event observer
to the 3D view rendering window but my callback is not called when I
drag one of the vtkImagePlaneWidget.

Now the questions:

1) Is this a correct (VTK) way of solving the 4-panes view?
2) Why is my MouseMoveEvent callback always get called but not while
dragging my vtkImagePlaneWidget?
3) What is the VTK-way of keeping multiple vtkRenderWindow synched if
one of them changes? I came across vtkSynchronizedRenderWindows and
vtkParallelRenderManager, but it is not clear to me that I need this.

Regards,
--
Félix C. Morency, M.Sc.
Plateforme d'analyse et de visualisation d'images
Centre Hospitalier Universitaire de Sherbrooke
Centre de recherche clinique Étienne-Le Bel
Local Z5-3031 | 819.346.1110 ext 16634
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic