[vtkusers] More than one RenderWindowInteractor in an application?
Saira Saleem Pathan
sarakhan_engr at hotmail.com
Thu May 17 15:09:20 EDT 2007
hiI have same problem. how to use multiple Interactor in single program.anybody has any experience?saira From: rar109 at york.ac.ukTo: vtkusers at vtk.orgDate: Thu, 17 May 2007 18:31:34 +0100Subject: [vtkusers] More than one wxVTKRenderWindowInteractor in an application?
Has anyone created an application with more than
one wxVTKRenderWindowInteractor or vtkRenderWindow using wxPython before?
I'm new to both wxPython and VTK and I'd like to
create a two windowed application. I've tried placing two wxVTKRWI's in a
wx.Panel - using sizers, I've tried using a wxSplitterWindow - using two panels,
I've tried creating a new frame with a second wxVTKRWI in it. The strange thing
is they all work until the application is closed when some error messages are
thrown up in the vtkOutputWindow...
Are there any special techniques/points to consider
when implementing two vtk windows?
The errors are:
ERROR: In
\enthon\src\Vtk-5.0\Rendering\vtkWin32OpenGLRenderWindow.cxx, line
238vtkWin32OpenGLRenderWindow (04302B88): wglMakeCurrent failed in
MakeCurrent(), error: The handle is invalid.
ERROR: In
\enthon\src\Vtk-5.0\Rendering\vtkWin32OpenGLRenderWindow.cxx, line
238vtkWin32OpenGLRenderWindow (04302B88): wglMakeCurrent failed in
MakeCurrent(), error: The handle is invalid.
Can someone please help! I'm not sure what this
means... There is no such path.
I'm using Python Enthought Edition Python 2.4.3 for
Windows.
Kind regards,
Richard.
_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070517/0ce331ff/attachment.htm>
More information about the vtkusers
mailing list