[vtk-developers] CreateRepeatingTimer and X11/Tk
David Cole
david.cole at kitware.com
Thu Aug 14 14:42:24 EDT 2008
Fixed in CVS HEAD by making vtkXRenderWindowTclInteractor a trivial subclass
of vtkXRenderWindowInteractor:
/cvsroot/VTK/VTK/Graphics/Testing/Tcl/TestFillHolesFilter.tcl,v <--
Graphics/Testing/Tcl/TestFillHolesFilter.tcl
new revision: 1.3; previous revision: 1.2
/cvsroot/VTK/VTK/Rendering/vtkXRenderWindowInteractor.cxx,v <--
Rendering/vtkXRenderWindowInteractor.cxx
new revision: 1.136; previous revision: 1.135
/cvsroot/VTK/VTK/Rendering/vtkXRenderWindowInteractor.h,v <--
Rendering/vtkXRenderWindowInteractor.h
new revision: 1.75; previous revision: 1.74
/cvsroot/VTK/VTK/Rendering/vtkXRenderWindowTclInteractor.cxx,v <--
Rendering/vtkXRenderWindowTclInteractor.cxx
new revision: 1.54; previous revision: 1.53
/cvsroot/VTK/VTK/Rendering/vtkXRenderWindowTclInteractor.h,v <--
Rendering/vtkXRenderWindowTclInteractor.h
new revision: 1.26; previous revision: 1.25
I will merge this to the VTK-5-2 branch after a clean night on the
dashboards and then mark this issue as resolved...
Thanks,
David Cole
On Tue, Aug 12, 2008 at 4:19 PM, David Cole <david.cole at kitware.com> wrote:
> I will try to get this one fixed tomorrow.
>
> 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...?
>
> 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...
>
> 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.
>
>
> Is the fix for this bug simply to re-inherit vtkXRenderWindowTclInteractor
> or would that upset any of you....??
>
>
> Thanks for any feedback,
> David Cole
> Kitware, Inc.
>
>
> On Sat, Aug 9, 2008 at 12:59 PM, Peter Wainwright <
> prw at ceiriog.eclipse.co.uk> wrote:
>
>> On all recent CVS versions of VTK, I have been unable to run this
>> example
>>
>> http://www.ceiriog.eclipse.co.uk/vtktut6.tcl
>>
>> Its just a simple use of vtkRenderWindowInteractor. But when I click in
>> the window I am unable to rotate the model and I get the error message:
>>
>> ERROR: In /home/prw/src/VTK-20080806/Rendering/vtkInteractorStyle.cxx,
>> line 392
>> vtkInteractorStyleJoystickCamera (0x9543c0): Timer start failed
>>
>> This seems to relate to the bug http://www.vtk.org/Bug/view.php?id=3164,
>> which apparently has not been touched for almost 2 years. It seems to
>> affect the X11 implementation only. Is anyone working on this?
>>
>> Peter Wainwright
>>
>> _______________________________________________
>> vtk-developers mailing list
>> vtk-developers at vtk.org
>> http://www.vtk.org/mailman/listinfo/vtk-developers
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtk-developers/attachments/20080814/bd0e1daf/attachment.htm>
More information about the vtk-developers
mailing list