Re: [PyQt] VTK in PyQt

2010-03-10 Thread Gib Bogle
through the code and two things I see different than what I have: a. I set the size of my RenderWindow b. I keep a reference to it, which probably isn't your problem because your not getting a seg fault. I've got an example but I can't verify that it works since I don't have vtk installed atm. mbs

Re: [PyQt] VTK in PyQt

2010-03-10 Thread Gib Bogle
I found my mistake, a very basic one. I was using VTKscene = QVTKRenderWindowInteractor(self) but should have been using VTKscene = QVTKRenderWindowInteractor(page_VTK) where page_VTK is the widget I created to display the scene. I apologize for cluttering up the mailing list with my

Re: [PyQt] VTK in PyQt

2010-03-09 Thread Bastian Weber
Gib Bogle wrote: Gib Bogle wrote: OK, I located QVTKRenderWindowInteractor.py. I'll see if I can figure out how to use it. Not much success here. Maybe you want to check the source code of http://sourceforge.net/projects/pymbs/ Its a python Multibody modelling tool width some

Re: [PyQt] VTK in PyQt

2010-03-09 Thread Matt Smith
I looked through the code and two things I see different than what I have: a. I set the size of my RenderWindow b. I keep a reference to it, which probably isn't your problem because your not getting a seg fault. I've got an example but I can't verify that it works since I don't have vtk

[PyQt] VTK in PyQt

2010-03-08 Thread Gib Bogle
Is it possible to display a VTK renderer within a Qt page? If so, is there some example code that I could use? Thanks Gib ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] VTK in PyQt

2010-03-08 Thread Gib Bogle
Gib Bogle wrote: Is it possible to display a VTK renderer within a Qt page? If so, is there some example code that I could use? OK, I located QVTKRenderWindowInteractor.py. I'll see if I can figure out how to use it. ___ PyQt mailing list

Re: [PyQt] VTK in PyQt

2010-03-08 Thread Gib Bogle
Gib Bogle wrote: OK, I located QVTKRenderWindowInteractor.py. I'll see if I can figure out how to use it. Not much success here. I can run the example QVTKRenderWidgetConeExample() from within my Qt GUI program, and it creates its own render window, independent of the Qt window. I haven't

Re: [PyQt] VTK in PyQt

2010-03-08 Thread Gib Bogle
Perhaps someone will tell me what I'm doing wrong here. I'm trying to create the render window for VTK programmatically, having given up on Qt Designer for the time being. The following code can't be too badly wrong, because it generates no errors - but on the other hand it doesn't display