License New BSD license
Lines 291
Keywords
PyQt (6) Qt (4) VTK (6)
Included in this Library
Permissions
Owner: Stou S.
Viewable by Everyone
Editable by All Siafoo Users

QVTKRenderWindowInteractor Atom Feed 0

In Brief The version of QVTKRenderWindowInteractor that ships with VTK 5.2 causes crashes when embedded in a window. The solution seems to be to subclass the OpenGL widget instead of the plain Widget class (at least that's what the wxPython version does). I've tested this on GNU/Linux and Windows XP... more

The version of QVTKRenderWindowInteractor that ships with VTK 5.2 causes crashes when embedded in a window. The solution seems to be to subclass the OpenGL widget instead of the plain Widget class (at least that's what the wxPython version does). I've tested this on GNU/Linux and Windows XP

Oh and the original version causes a bunch of X errors like this:

X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x3a0000d