From Stephan Huber, "attached are some fixes to the osc-plugin and the touch-implemen...
authorRobert OSFIELD <robert.osfield@gmail.com>
Thu, 23 Jan 2014 15:37:48 +0000 (15:37 +0000)
committerRobert OSFIELD <robert.osfield@gmail.com>
Thu, 23 Jan 2014 15:37:48 +0000 (15:37 +0000)
commite6f9e65f9185c21be968c230ed20dcfc1526128b
tree6d775cde798e436c856fa6cfa037da2e18f36f9b
parent8904fa10875ac1640ca238792a40df66085c7294
From Stephan Huber, "attached are some fixes to the osc-plugin and the touch-implementations for iOS and os x and other small bugfixes. These fixes will normalize the orientation of the touch points, and transmitting the touch points over osc via the TUIO-protocol works now more robustly between two osg-applications.

I added a new tag to p3d called forward_touch_event_to_device and renamed the existing forward_event_to_device to forward_mouse_event_to_device. This new tag will transmit touches to the virtual trackpad as touch events. I added the MultitouchTrackball to the p3d-app so zooming and moving a model remotely should now work, if you use forward_touch_event_to_device. I kept (and fixed) forward_mouse_event_to_device for background compatibility, so old presentations works as in previous versions, without the ability to zoom + scale. of course.

forward_touch_event_to_device needs some more testing, (e.g. with image-streams and keystone, afaik there‚Äôs no support for touch-events...) but for a first version it works nice.
"
15 files changed:
applications/present3D/deprecated/present3D.cpp
examples/osgviewerIPhone/iphoneViewerAppDelegate.mm
include/osgGA/GUIEventAdapter
include/osgPresentation/deprecated/SlideEventHandler
src/osgGA/GUIEventAdapter.cpp
src/osgGA/MultiTouchTrackballManipulator.cpp
src/osgPlugins/osc/OscReceivingDevice.cpp
src/osgPlugins/osc/OscSendingDevice.cpp
src/osgPlugins/osc/OscSendingDevice.hpp
src/osgPlugins/p3d/ReaderWriterP3D.cpp
src/osgPresentation/deprecated/KeyEventHandler.cpp
src/osgPresentation/deprecated/PickEventHandler.cpp
src/osgViewer/GraphicsWindowCocoa.mm
src/osgViewer/GraphicsWindowIOS.mm
src/osgViewer/Viewer.cpp