OpenSceneGraph/src/osgViewer
Robert Osfield 0e3de701d9 From Stephan Huber, "attached you'll find a first version of multi-touch-support for OS X (>=
10.6), which will forward all multi-touch events from a trackpad to the
corresponding osgGA-event-structures.

The support is switched off per default, but you can enable multi-touch
support via a new flag for GraphicsWindowCocoa::WindowData or directly
via the GraphicsWindowCocoa-class.

After switching multi-touch-support on, all mouse-events from the
trackpad get ignored, otherwise you'll have multiple events for the same
pointer which is very confusing (as the trackpad reports absolute
movement, and as a mouse relative movement).

I think this is not a problem, as multi-touch-input is a completely
different beast as a mouse, so you'll have to code your own
event-handlers anyway.

While coding this stuff, I asked myself if we should refactor
GUIEventAdapter/EventQueue and assign a specific event-type for
touch-input instead of using PUSH/DRAG/RELEASE. This will make it
clearer how to use the code, but will break the mouse-emulation for the
first touch-point and with that all existing manipulators. What do you
think? I am happy to code the proposed changes.

Additionally I created a small (and ugly) example osgmultitouch which
makes use of the osgGA::MultiTouchTrackballManipulator, shows all
touch-points on a HUD and demonstrates how to get the touchpoints from
an osgGA::GUIEventAdapter.

There's even a small example video here: http://vimeo.com/31611842"
2012-02-03 15:15:37 +00:00
..
CMakeLists.txt From Olaf Flebbe, fixes for OSX AGL build 2011-05-25 09:34:02 +00:00
CompositeViewer.cpp Improved the handling of setStartTick() being called mid app, such as when idirectly called when doing a Viewer::setSceneData(). 2011-11-04 12:47:24 +00:00
DarwinUtils.h Fixed permissions 2010-06-03 16:02:01 +00:00
DarwinUtils.mm From Ulrich Hertlein, Added some error checks and memory cleanup. 2011-09-12 16:24:08 +00:00
GraphicsWindow.cpp From Jan Peciva, "please find attached proposed fix for ON_DEMAND rendering. The biggest issue was 2011-04-19 12:01:38 +00:00
GraphicsWindowCarbon.cpp Added checks against windows being realized before doing warp pointer 2010-06-18 14:53:58 +00:00
GraphicsWindowCocoa.mm From Stephan Huber, "attached you'll find a first version of multi-touch-support for OS X (>= 2012-02-03 15:15:37 +00:00
GraphicsWindowIOS.mm From Stephan Huber, "A recent commit 2011-11-01 13:41:48 +00:00
GraphicsWindowWin32.cpp From Wojciech Lewandowski, "There was a bug in reading modifier keys when focus to GraphicsWindowWin32 was restored. Handler of WM_SETFOCUS was reading pressed keys and sending WM_KEYDOWN messages to fill initial keyboard state. But WM_KEYDOWN messages sent had 0 on lParam and adaptKey method computing state of modifier mask was using lParam to find which modifier keys are down. Obviously when lParam was 0 it was not recording proper modifier masks. 2011-09-19 10:39:19 +00:00
GraphicsWindowX11.cpp From J.P. Delport, "when switching from windowed mode to fullscreen (with the 'f' key) in X11, no RESIZE event is generated. This confuses handlers that perform some processing on the RESIZE event, e.g. the InteractiveImageHandler. 2012-01-26 13:08:19 +00:00
HelpHandler.cpp Changed HelpHandler so it supports use with CompositeViewer and Viewer 2007-09-30 19:15:32 +00:00
IOSUtils.h Removed executable permission. 2011-06-14 09:11:58 +00:00
IOSUtils.mm Removed executable permission. 2011-06-14 09:11:58 +00:00
PixelBufferCarbon.cpp conversion of osg::notify to OSG_INFO etc. 2010-05-28 15:56:43 +00:00
PixelBufferCocoa.mm Fixed permissions 2010-06-03 16:02:01 +00:00
PixelBufferWin32.cpp Fixed Coverity reported issue. 2011-05-06 12:22:10 +00:00
PixelBufferX11.cpp conversion of osg::notify to OSG_INFO etc. 2010-05-28 15:56:43 +00:00
Renderer.cpp Fixed stats bug where not all stats fields were being collected by the cull_draw() method used in the SingleThreaded and CullDrawThreadPerContext threading models. 2011-07-25 17:07:56 +00:00
Scene.cpp Fixed crash on intialization of static applications by moving the static mutexes inside singleton methods. 2010-11-12 09:48:21 +00:00
ScreenCaptureHandler.cpp Fixed a range of issues reported by cppcheck: 2011-06-20 19:15:53 +00:00
StatsHandler.cpp Fixed Coverity reported issues. 2011-05-06 12:20:48 +00:00
Version.cpp From David Callu, improved consistency of Version strings and add version support 2007-09-05 17:12:24 +00:00
View.cpp From Magnus Kessler, typo fixes 2011-09-12 10:52:16 +00:00
Viewer.cpp Improved the handling of setStartTick() being called mid app, such as when idirectly called when doing a Viewer::setSceneData(). 2011-11-04 12:47:24 +00:00
ViewerBase.cpp Moved setEndBarrierOperation(..) implementation into .cpp and added support for stoppig and starting threading if required. 2012-01-24 17:30:44 +00:00
ViewerEventHandlers.cpp From J.P. Delport, "this fall-through had me scratching my head for a while... 2012-01-25 17:37:55 +00:00