<HTML>
<HEAD>
<TITLE>Re: [vtkusers] vtkInteractorStyleRubberBandZoom bug?</TITLE>
</HEAD>
<BODY>
<FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
I submitted a patch for this a while ago that at least stops it from crashing. The problem was that there wasn’t a check if the drag went outside the window range. It had different effects on various platforms for me.<BR>
<BR>
Gerrick<BR>
On 8/15/08 7:34 AM, "David E DeMarle" <dave.demarle@kitware.com> wrote:<BR>
<BR>
</SPAN></FONT></FONT><BLOCKQUOTE><FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>It is bug <a href="http://vtk.org/Bug/view.php?id=3713">http://vtk.org/Bug/view.php?id=3713</a><BR>
I will fix it today.<BR>
cheers,<BR>
Dave DeMarle<BR>
<BR>
On Fri, Aug 15, 2008 at 7:50 AM, Paul Harris <harris.pc@gmail.com> wrote:<BR>
</SPAN></FONT></FONT><BLOCKQUOTE><FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi all,<BR>
<BR>
Using the current VTK included in Debian (testing),<BR>
<BR>
I modified the example xyPlot.py by setting the interactor style to RubberbandZoom :<BR>
<BR>
iren = vtk.vtkRenderWindowInteractor()<BR>
sty = vtk.vtkInteractorStyleRubberBandZoom() ** <BR>
iren.SetInteractorStyle(sty) **<BR>
iren.SetRenderWindow(renWin)<BR>
<BR>
But, I discovered if you drag the box too far to the bottom right, the display goes all funny - lots of black lines that aren't cleared...<BR>
<BR>
And if you drag the box too far to the top left, I see this error:<BR>
<BR>
*** glibc detected *** python: double free or corruption (out): 0x08fdaad0 ***<BR>
<BR>
bug?<BR>
<BR>
cheers<BR>
Paul<BR>
<BR>
<BR>
_______________________________________________<BR>
This is the private VTK discussion list.<BR>
Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><BR>
Follow this link to subscribe/unsubscribe:<BR>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><BR>
<BR>
<BR>
</SPAN></FONT></FONT></BLOCKQUOTE><FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_______________________________________________<BR>
This is the private VTK discussion list.<BR>
Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><BR>
Follow this link to subscribe/unsubscribe:<BR>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE>
</BODY>
</HTML>