[vtkusers] RE: [wxPython] VTK + wxPython flicker issue on Linux/GTK.

David D. Marshall gte552m at prism.gatech.edu
Wed Mar 7 23:00:49 EST 2001

Are you using the updated wxVTKRenderWindow code from
http://www.prism.gatech.edu/~gte552m/wxVTKWindow.html?  I just tried it with this code (actually slightly
modified) and could set my wxFrame to wxSize(150, 140) and wxSize(450, 340).  I also could not get the
column of pixels problem on the right either.  Perhaps we are talking about different wxVTK packages because
there are a few :(.

As for Prabhu's original flicker question, perhaps you could take a look at the wxVTKRenderwindow code
mentioned above and back-port it to python.  I am not skilled in this, but from what I remember of the
wxPython-VTK code it was similar to the above c++ class wxVTKWindow.

Harris Scott R CIV AFRL/SNJM wrote:

> The wxVTKRenderWindow always comes up sized to 300x300 pixels. Once you resize the parent
> window, the VTKwindow resizes almost correctly. I see a single column of pixels on the right hand side.
> I've tried modifying the wxVTKRenderWindow code to fix some of this behavior, but I've been unsuccessful.
> I've avoided the problem by making my initial parent window 300x300.
> I'm using wxPython 2.2.1.
> -Scott
> -----Original Message-----
> From: Prabhu Ramachandran [mailto:prabhu at aero.iitm.ernet.in]
> Sent: Wednesday, March 07, 2001 2:03 PM
> To: VTK users list; wxpython-users at lists.sourceforge.net
> Subject: [wxPython] VTK + wxPython flicker issue on Linux/GTK.
> hi,
> The only thing holding me back from leaving Tkinter and starting to
> use wxPython is that under Debian GNU/Linux 2.2 with
> libwxgtk2.2-python version 2.2.1 and VTK 3.2beta when one runs the
> wxVTKRenderWindow.py demo there is a huge amount of flicker when one
> rotates the cone.  There is also some very bad clipping that occurs if
> one zooms into the cone.  The initial VTK window is also not sized
> properly.  I know almost nothing about wxPython, so have no idea if
> these issues have been fixed or what the exact problem is.
> I'd appreciate if someone could tell me where the problem is and if
> there is a fix.  I am not subscribed on the wxPython-users list so
> please CC me in on any messages from there.
> thanks,
> prabhu
> _______________________________________________
> wxPython-users mailing list
> wxPython-users at lists.sourceforge.net
> http://lists.sourceforge.net/lists/listinfo/wxpython-users
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers

David D. Marshall
ARTLab System Administrator/GRA
Georgia Institute of Technology, Atlanta Georgia, 30332
mailto:gte552m at prism.gatech.edu
think: Why anonymity is good, http://www.cato.org/pubs/briefs/bp-054es.html

More information about the vtkusers mailing list