I like to include a VTK, vtkRenderWindow, in a wxPython Frame. The problem is that in windows(2k) it works but in Linux its outside the frame and it crashes. here is my code:( I appreciate any help)
I'll need to build VTK on my new Linux box before I can take a look at this.
Does anybody else have it working right now? It's been a long time since I
tried it, since before Python 2.0 I think...
Robin
···
----- Original Message -----
From: Sam Behashtei
To: wxPython
Sent: Friday, February 23, 2001 1:49 PM
Subject: [wxPython] VTK and wxPython
Hello,
I like to include a VTK, vtkRenderWindow, in a wxPython Frame. The problem
is that in windows(2k) it works but in Linux its outside the frame and it
crashes. here is my code:( I appreciate any help)
I've compiled it against Python2.1a2 a few days ago with out a problem on a
RH 6.2 machine. (man does it take a while) The few Tkinter based examples I
tried worked fine. The wxPython example in the demo opens fine and displays
the cone. It also allows interaction with the cone. It crashes, however,
when the window is resized.
I'll need to build VTK on my new Linux box before I can take a look at this.
Does anybody else have it working right now? It's been a long time since I
tried it, since before Python 2.0 I think...
Robin
----- Original Message -----
From: Sam Behashtei
To: wxPython
Sent: Friday, February 23, 2001 1:49 PM
Subject: [wxPython] VTK and wxPython
Hello,
I like to include a VTK, vtkRenderWindow, in a wxPython Frame. The problem
is that in windows(2k) it works but in Linux its outside the frame and it
crashes. here is my code:( I appreciate any help)
Actually the example given is running fine on my Mandrake7.2. But the
problem is that I can't
include the vtk window inside a wxPython frame!!! If I have it outside then
no problems, but I rather not.
Sam
···
----- Original Message -----
From: "eric jones" <ej@ee.duke.edu>
To: <wxpython-users@lists.sourceforge.net>
Sent: Saturday, February 24, 2001 2:28 AM
Subject: RE: [wxPython] VTK and wxPython
I've compiled it against Python2.1a2 a few days ago with out a problem on
a
RH 6.2 machine. (man does it take a while) The few Tkinter based examples
I
tried worked fine. The wxPython example in the demo opens fine and
displays
the cone. It also allows interaction with the cone. It crashes, however,
when the window is resized.
eric
-----Original Message-----
From: wxpython-users-admin@lists.sourceforge.net
[mailto:wxpython-users-admin@lists.sourceforge.net]On Behalf Of Robin
Dunn
Sent: Friday, February 23, 2001 3:24 PM
To: wxpython-users@lists.sourceforge.net
Subject: Re: [wxPython] VTK and wxPython
I'll need to build VTK on my new Linux box before I can take a look at
this.
Does anybody else have it working right now? It's been a long time since
I
tried it, since before Python 2.0 I think...
Robin
----- Original Message -----
From: Sam Behashtei
To: wxPython
Sent: Friday, February 23, 2001 1:49 PM
Subject: [wxPython] VTK and wxPython
Hello,
I like to include a VTK, vtkRenderWindow, in a wxPython Frame. The
problem
is that in windows(2k) it works but in Linux its outside the frame and it
crashes. here is my code:( I appreciate any help)
Actually the example given is running fine on my Mandrake7.2. But the
problem is that I can't
include the vtk window inside a wxPython frame!!! If I have it outside
then
no problems, but I rather not.
Can't or don't want to? If you don't put it in a frame where would you put
it?
Maybe you could send an example of what you are tryin to do and eric can try
it out and give some pointers?
···
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters? http://wxPython.org Relax with wxPython!
Maybe you could send an example of what you are trying to do and eric can
try
it out and give some pointers?
I am writing a vtkClass for my school project. To send the code I either
have to send the dll's (22.1Mb) or send the C++ and wxPython code, which the
requires Eric to compile it into his vtk: Too much trouble!
Can't or don't want to? If you don't put it in a frame where would you
put
it?
I can have the vtkWindow out side the application in a OpenGL frame by using
the following line
renWin=vtkRenderWindow(); This means that my wxWidgits are on a separate
window. I don't really like that.
OR use the commands I send earlier to embed the vtkWindow in wxPython frame.
this works well for Windows but as for Linux the vtk widow is still out of
the frame and crashes right away. here is the command again, maybe there is
another way to embed a vtk window and I don't know about it:
----- Original Message -----
From: "Robin Dunn" <robind@earthling.net>
To: <wxpython-users@lists.sourceforge.net>
Sent: Saturday, February 24, 2001 12:10 PM
Subject: Re: [wxPython] VTK and wxPython
> Actually the example given is running fine on my Mandrake7.2. But the
> problem is that I can't
> include the vtk window inside a wxPython frame!!! If I have it outside
then
> no problems, but I rather not.
>
Can't or don't want to? If you don't put it in a frame where would you
put
it?
Maybe you could send an example of what you are tryin to do and eric can
try
it out and give some pointers?
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters? http://wxPython.org Relax with wxPython!
I have gotten the majority of wxPython 2.2.5 to run with
Cygwin 1.1.8 :-))
This required a fair bit of 'coercion' to the distutils
cygcompiler.py module, I used the wxPython
my_distutils.py as a reference, I also had to add an
additional section in setup.py for the cygwin compiler
I will be glad to supply the specifics to anyone interested.
FYI
I overcame the 'resource file not found" problem I mentioned
in my earlier post by linking the wxWindows resource file into
the python executable.
IMO this is not really satisfactory but seems to work.