<div dir="ltr"><div>Fixed in CVS HEAD by making vtkXRenderWindowTclInteractor a trivial subclass of vtkXRenderWindowInteractor:</div><div><br></div><div> /cvsroot/VTK/VTK/Graphics/Testing/Tcl/TestFillHolesFilter.tcl,v <-- Graphics/Testing/Tcl/TestFillHolesFilter.tcl</div>
<div> new revision: 1.3; previous revision: 1.2</div><div> /cvsroot/VTK/VTK/Rendering/vtkXRenderWindowInteractor.cxx,v <-- Rendering/vtkXRenderWindowInteractor.cxx</div><div> new revision: 1.136; previous revision: 1.135</div>
<div> /cvsroot/VTK/VTK/Rendering/vtkXRenderWindowInteractor.h,v <-- Rendering/vtkXRenderWindowInteractor.h</div><div> new revision: 1.75; previous revision: 1.74</div><div> /cvsroot/VTK/VTK/Rendering/vtkXRenderWindowTclInteractor.cxx,v <-- Rendering/vtkXRenderWindowTclInteractor.cxx</div>
<div> new revision: 1.54; previous revision: 1.53</div><div> /cvsroot/VTK/VTK/Rendering/vtkXRenderWindowTclInteractor.h,v <-- Rendering/vtkXRenderWindowTclInteractor.h</div><div> new revision: 1.26; previous revision: 1.25</div>
<div><br></div><div>I will merge this to the VTK-5-2 branch after a clean night on the dashboards and then mark this issue as resolved...</div><div><br></div><div><br></div><div>Thanks,</div><div>David Cole</div><div><br>
</div><br><div class="gmail_quote">On Tue, Aug 12, 2008 at 4:19 PM, David Cole <span dir="ltr"><<a href="mailto:david.cole@kitware.com">david.cole@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div dir="ltr">I will try to get this one fixed tomorrow.<br><br><div><div>Would anybody object to re-factoring the vtkXRenderWindowTclInteractor class (re-parent it from vtkXRenderWindowInteractor) such that it inherits its common functionality and then has just overrides that are specific to Tcl/Tk...?</div>
<div><br></div><div>I don't think it should break backwards compatibility for most people, although I could certainly imagine a class derived from it that may squawk for one reason or another by having its parent chain changed...</div>
<div><br></div><div>I think the intent of both classes was to have the same code except for the differences due to making tcl calls from the TclInteractor method implementations. However, over time, they have diverged and had different bug fixes applied to one that should have been applied to both.</div>
<div><br></div><div><br></div><div>Is the fix for this bug simply to re-inherit vtkXRenderWindowTclInteractor or would that upset any of you....??</div><div><br></div><div><br></div><div>Thanks for any feedback,</div><div>
David Cole</div><font color="#888888"><div>Kitware, Inc.</div></font><div><div></div><div class="Wj3C7c"><div><br></div><div><br><div><div class="gmail_quote">On Sat, Aug 9, 2008 at 12:59 PM, Peter Wainwright <span dir="ltr"><<a href="mailto:prw@ceiriog.eclipse.co.uk" target="_blank">prw@ceiriog.eclipse.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On all recent CVS versions of VTK, I have been unable to run this<br>
example<br>
<br>
<a href="http://www.ceiriog.eclipse.co.uk/vtktut6.tcl" target="_blank">http://www.ceiriog.eclipse.co.uk/vtktut6.tcl</a><br>
<br>
Its just a simple use of vtkRenderWindowInteractor. But when I click in<br>
the window I am unable to rotate the model and I get the error message:<br>
<br>
ERROR: In /home/prw/src/VTK-20080806/Rendering/vtkInteractorStyle.cxx,<br>
line 392<br>
vtkInteractorStyleJoystickCamera (0x9543c0): Timer start failed<br>
<br>
This seems to relate to the bug <a href="http://www.vtk.org/Bug/view.php?id=3164" target="_blank">http://www.vtk.org/Bug/view.php?id=3164</a>,<br>
which apparently has not been touched for almost 2 years. It seems to<br>
affect the X11 implementation only. Is anyone working on this?<br>
<br>
Peter Wainwright<br>
<br>
_______________________________________________<br>
vtk-developers mailing list<br>
<a href="mailto:vtk-developers@vtk.org" target="_blank">vtk-developers@vtk.org</a><br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
</blockquote></div><br></div></div></div></div></div></div>
</blockquote></div><br></div>