[vtkusers] vtkRenderWindowInteractor and Mac OSX

Sean McBride sean at rogue-research.com
Fri Sep 28 09:44:40 EDT 2007


On 9/28/07 11:44 AM, Christophe Peyret said:

>with Mathieu's help I succeed, in fact the problem was coming from  
>MacOSX
>
>Today I made this with the exe cone5 created yesterday
>
>mkdir cone5.app
>mkdir cone5.app/Contents
>mkdir cone5.app/Contents/MacOS
>mv cone5 cone5.app/Contents/MacOS/.
>./cone5.app/Contents/MacOS/cone5

That's basically what building with "MACOSX_BUNDLE" does.

>and this time, it works
>so the reason vtkRenderWindowInteractor didn't answer to keybord  
>entries was coming from MacOSX who is looking for a specific  
>repertory organisation ...

BTW, all this is a FAQ:
<http://www.vtk.org/Wiki/VTK_FAQ#How_
to_get_keyboard_events_working_on_Mac_OS_X.3F>

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada





More information about the vtkusers mailing list