<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>
hi<br>I have same problem. how to use multiple Interactor in single program.<br>anybody has any experience?<br><br>saira<br><br>&nbsp;<strong></strong><img src="http://graphics.hotmail.com/greypixel.gif" height="2" vspace="9" width="100%"><div><br><blockquote><hr>From: rar109@york.ac.uk<br>To: vtkusers@vtk.org<br>Date: Thu, 17 May 2007 18:31:34 +0100<br>Subject: [vtkusers] More than one wxVTKRenderWindowInteractor in an        application?<br><br>








<div><font face="Arial" size="2">Has anyone created an application with more than 
one wxVTKRenderWindowInteractor or vtkRenderWindow using wxPython before? 
</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">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...</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">Are there any special techniques/points to consider 
when implementing two vtk windows?</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">The errors are:</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">ERROR: In 
\enthon\src\Vtk-5.0\Rendering\vtkWin32OpenGLRenderWindow.cxx, line 
238<br>vtkWin32OpenGLRenderWindow (04302B88): wglMakeCurrent failed in 
MakeCurrent(), error: The handle is invalid.</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">ERROR: In 
\enthon\src\Vtk-5.0\Rendering\vtkWin32OpenGLRenderWindow.cxx, line 
238<br>vtkWin32OpenGLRenderWindow (04302B88): wglMakeCurrent failed in 
MakeCurrent(), error: The handle is invalid.</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">Can someone please help! I'm not sure what this 
means...&nbsp;There is no such path.</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">I'm using Python Enthought Edition Python 2.4.3 for 
Windows.</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">Kind regards,</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">Richard. </font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div>&nbsp;</div>
</blockquote></div><br /><hr />Discover the new Windows Vista <a href='http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE' target='_new'>Learn more!</a></body>
</html>