[vtkusers] QVTKRenderWindowInteractor rendering inside PySide application

Félix C. Morency felix.morency at gmail.com
Mon Jun 11 15:21:11 EDT 2012


Hi,

The code in [1] doesn't display the renderer properly. However, if you
comment the line 49:

   grid_layout.addWidget(axial_view)

the rendering works. It seems that rendering the widget inside a main
window (or inside any other widget?) doesn't work. It works only when
rendering occurs in its own window Am I missing something or is this a
bug?

Tested with Python 2.7.2, VTK 5.10 and PySide 1.1.1

[1]: https://gist.github.com/2911801

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



More information about the vtkusers mailing list