[vtk-developers] CreateRepeatingTimer and X11/Tk

Andrew Maclean andrew.amaclean at gmail.com
Mon Aug 18 01:56:24 EDT 2008


Hi Bill, I think David is looking further into it.
I think it still needs some more work. I tried it in the weekend and
there was no interaction at all (mouse and keyboard).
Regards
   Andrew


On Mon, Aug 18, 2008 at 3:12 AM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> David,
>
> Is this ready for the VTK-5-2 branch?
>
> Bill
>
> 2008/8/14 David Cole <david.cole at kitware.com>:
>> 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
>>>
>>
>>
>> _______________________________________________
>> vtk-developers mailing list
>> vtk-developers at vtk.org
>> http://www.vtk.org/mailman/listinfo/vtk-developers
>>
>>
> _______________________________________________
> vtk-developers mailing list
> vtk-developers at vtk.org
> http://www.vtk.org/mailman/listinfo/vtk-developers
>



-- 
___________________________________________
Andrew J. P. Maclean
Centre for Autonomous Systems
The Rose Street Building J04
The University of Sydney 2006 NSW
AUSTRALIA
Ph: +61 2 9351 3283
Fax: +61 2 9351 7474
URL: http://www.acfr.usyd.edu.au/
___________________________________________



More information about the vtk-developers mailing list