[vtkusers] [VTK4.x + Python + wxPhyton] wxVTKRenderWindow maturity

Eric Boix frog at creatis.insa-lyon.fr
Wed Feb 27 12:54:37 EST 2002


	Dear wxVTKRenderWindow users,

Thanks David and Prabhu for the support ! Sorry for my bitterness on the
subject but I feel a bit trapped with powerfull tools I do not master.
It's so close to be fully effective...

Quoting Prabhu Ramachandran <prabhu at cyberwaveindia.com>
> Anyway, it does look like Davids widget is the most stable for the
> present.
Ok. I'll stick to the version included in VTK4.x and consider that as
the reference. Considering only one branch should make things easier !

Quoting David Gobbi <dgobbi at irus.rri.ca>:
> I've patched the VTK 4.0 wxVTKRenderWindow so that
> it should work fine in a notebook or a splitter under Linux.
Thanks david. With your changes (both on the wxVTKRenderWindow and the
testSideBySide.py itself) all the tests run smoothly on Linux.

Now with Win32 (hey, I'm not so fond of Win32, but some of my lab users
"need" it. Sighhh) : the testSplitter.py scripts freezes on a call back to
wxVTKRenderWindow._OnSize. When you comment out the line 250 i.e.
        self._RenderWindow.SetSize(width, height)
in wxVTKRenderWindow._OnSize, then everything works great !
Any logical explanation ?

Quoting Prabhu Ramachandran <prabhu at cyberwaveindia.com>
> I'll second that.  Maybe using wxPython 2.2.6 (which is the stable
> release) is a better option.
Sorry Prabhu but I could't find any reference to 2.2.6 version on the
download page of wxPython at sourceforge :
http://sourceforge.net/project/showfiles.php?group_id=10718&release_id=66468
Did I miss something ?

> Getting the wxVTKRenderWindow to work perfectly under both Windows and
> Linux is not an easy task.
I can tell it's difficult. I got lost when reading the sources: too low milage !
Thanks again for your job !

> The main issue is simply that wxWindows is not as mature as Tk, and
> there's not much that we can do about that.
But using wxPython is so tempting since the widgets are plentyfull and
contemporary. Plus they have the native look and feel when available.

	Thanks again,
	Eric Boix.




More information about the vtkusers mailing list