[vtkusers] wxVTKRenderWindowInteractor
Mathieu Malaterre
Mathieu.Malaterre at creatis.insa-lyon.fr
Wed Jul 16 05:28:51 EDT 2003
Anrew,
Before going any further did you read the warning about using wxGTK
2.4.1 on my web page:
http://www.creatis.insa-lyon.fr/~malaterre/wxVTK/
<quote>
*IMPORTANT note*:
Even if this version (2.4.1) fixes a bug with mouse it introduced one
(at least under GTK). So you need to change src/gtk/timer.cpp 1.16.2.1
to timer.cpp 1.16.2.3. See my mail here. And go to CVS here to get it.
So the recommended (=stable) wxGTK release is still 2.2.9 under Linux/GTK.
</quote>
If so, you need to install a a src rpm and change the file src/gtk/timer.cpp
Thanks,
mathieu
Andrew Usher wrote:
> Hi Mathieu,
>
> Thank you for your email.
>
> Unfortunately I still can't get the style to work. I'm using:
>
> Redhat Linux 9
> VTK 4.2.2
> wxWindows 2.4.1 (wxGTK)
> The same happens with all buttons.
>
> I wonder if it's because I'm using the version of GTK that shipped with
> Redhat 9 rather than a newer build? I remember a note about this on the
> wxWindows site.
>
> The code is exactly as in the Sample_gtk executable so there's no point in
> adding it here.
>
> Thanks again,
>
> Andrew
>
> ---------------------------------------------------
> Andrew Usher
> Email: a.c.j.usher at damtp.cam.ac.uk
> Tel: (01223) 765997
> ---------------------------------------------------
>
> On Wed, 16 Jul 2003, Mathieu Malaterre wrote:
>
>
>>Andrew,
>>
>> You can play with either TrackBall or Joystick mode while pressing 't'
>>or 'j'. Press it only once. This should be ok.
>>
>> As I can't reproduce the bug could please include some usefull infos:
>>
>> - VTK version
>> - wxWindows version
>> - What you are using : Linux/Windows/Mac
>> - Does this happen for all buttons (left/middle/right)
>>
>>BTW Joystick is the default style, so you shouldn't need to press any
>>key in the 'Sample' demo.
>>
>>Thanks,
>>mathieu
>>
>>
>>Andrew Usher wrote:
>>
>>>Hi,
>>>
>>>I'm currently trying to use the wxVTKRenderWindowInteractor class (from
>>>http://creatis-www.insa-lyon.fr/~malaterre/wxVTK/). My problem is
>>>concerned with interactor styles.
>>>
>>>The trackball mode when using the class is great and works well, but the
>>>joystick mode doesn't appear to respond as expected. I have to click
>>>repeatedly to get the expected response, ie any movement. I know this may
>>>seem trivial but I use it to do basic flythroughs and would be very
>>>grateful if anyone knew of a workaround or fix, or had any clues.
>>>
>>>Thanks very much,
>>>
>>>Andrew
>>>
>>>---------------------------------------------------
>>>Andrew Usher
>>>Email: a.c.j.usher at damtp dot cam dot ac dot uk
>>>---------------------------------------------------
>>>
>>>_______________________________________________
>>>This is the private VTK discussion list.
>>>Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>>>Follow this link to subscribe/unsubscribe:
>>>http://www.vtk.org/mailman/listinfo/vtkusers
>>>
>>
>>
>>--
>>Mathieu Malaterre
>>CREATIS
>>28 Avenue du Doyen LEPINE
>>B.P. Lyon-Montchat
>>69394 Lyon Cedex 03
>>http://www.creatis.insa-lyon.fr/~malaterre/
>>
>>
>
>
--
Mathieu Malaterre
CREATIS
28 Avenue du Doyen LEPINE
B.P. Lyon-Montchat
69394 Lyon Cedex 03
http://www.creatis.insa-lyon.fr/~malaterre/
More information about the vtkusers
mailing list