vtk and wxWindows
jnorris at uiuc.edu
jnorris at uiuc.edu
Wed Aug 18 15:23:43 EDT 1999
Hello,
If you working under Unix with GTK, I may be able to help. I've created a
new wx class, wxVtkPanel, which contains a vtkRenderWindow and Interactor.
The render window (which is GTK-specific) is largely based on the
vtkGtkRenderWindow written by Matt Howlett. I intend to write a Win32
version, but haven't done it yet. I haven't thought much about a Motif
version, although I'll probably try it eventually.
The interactor, vtkWxMappedInteractor, is not platform-specific.
If you're interested in this code, I can send you the files.
John
Once upon a time, David Gobbi wrote:
> I hate to write a "Me, too!" post, but I am also very interested
> in this. I have bound a vtkRenderWindow to a wxGLCanvas in
> wxPython with limited success, i.e. the updates are not synchronized
> and the vtkRenderWindow is overdrawn with grey immediately after it
> is rendered.
>
> One issue with wxWindows is that it doesn't provide an easy method for
> getting the X-Window handle for a window. This makes it hard to bind
> a wxWindow to a vtkRenderWindow. My own version of wxWindows
> has been hacked to provide this information.
>
> On Wed, 18 Aug 1999, Brian Alexander Todd wrote:
> > Has anyone done any work with vtk in wxWindows?
> > I would be interested in any insights or even better
> > any classes that have already been written!
--
John Norris
Center for Simulation of Advanced Rockets
jnorris at uiuc.edu
http://www.uiuc.edu/ph/www/jnorris
-----------------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>. For help, send message body containing
"info vtkusers" to the same address. Live long and prosper.
-----------------------------------------------------------------------------
More information about the vtkusers
mailing list