Contents

Gesture support

MT4j already provides a set of the most common multi-touch gestures. Be aware that in some countries (e.g. the US) multi-touch gestures are protected by patents.

Gesture processors for object manipulation

Error creating thumbnail: convert: unable to open image `/var/www/mediawiki-1.14.0/images/6/6a/Tap11.png': No such file or directory.
convert: unable to open file `/var/www/mediawiki-1.14.0/images/6/6a/Tap11.png'.
convert: missing an image filename `/var/www/mediawiki-1.14.0/images/thumb/6/6a/Tap11.png/100px-Tap11.png'.
The tap gesture is the equivalent of a mouse click. It can be triggered on an object by touching it and removing the finger again.
Error creating thumbnail: convert: unable to open image `/var/www/mediawiki-1.14.0/images/4/48/Drag111.png': No such file or directory.
convert: unable to open file `/var/www/mediawiki-1.14.0/images/4/48/Drag111.png'.
convert: missing an image filename `/var/www/mediawiki-1.14.0/images/thumb/4/48/Drag111.png/100px-Drag111.png'.
An object can be dragged to another location by putting a cursor down on the object and then moving it to a new location. The Object will stay under the cursor for the whole time.
Error creating thumbnail: convert: unable to open image `/var/www/mediawiki-1.14.0/images/d/dd/Rot11.png': No such file or directory.
convert: unable to open file `/var/www/mediawiki-1.14.0/images/d/dd/Rot11.png'.
convert: missing an image filename `/var/www/mediawiki-1.14.0/images/thumb/d/dd/Rot11.png/100px-Rot11.png'.
With this very intuitive two finger gesture you can rotate an object around its z-axis. This gesture is very easily illustrated by imagining a paper lying on a desk, putting two fingers on it and then rotating the paper with your fingers. It is the users decision whether to use one or two hands for this gesture.
Error creating thumbnail: convert: unable to open image `/var/www/mediawiki-1.14.0/images/4/4f/Scale_.png': No such file or directory.
convert: unable to open file `/var/www/mediawiki-1.14.0/images/4/4f/Scale_.png'.
convert: missing an image filename `/var/www/mediawiki-1.14.0/images/thumb/4/4f/Scale_.png/100px-Scale_.png'.
Scalable objects can be resized by moving two fingers in a different direction. Scaling and rotating objects can be performed simutanously.

Gesture processors for background manipulation

Error creating thumbnail: convert: unable to open image `/var/www/mediawiki-1.14.0/images/9/96/Zoom.png': No such file or directory.
convert: unable to open file `/var/www/mediawiki-1.14.0/images/9/96/Zoom.png'.
convert: missing an image filename `/var/www/mediawiki-1.14.0/images/thumb/9/96/Zoom.png/100px-Zoom.png'.
This gesture allows to zoom in or out by moving the camera position. Similar to the scale gesture, the zoom amount is determined by the distance between two fingers. The gesture has to be triggered on the background of a program to work. To avoid confusion at multi user scenarios, only one active zoom gesture is allowed at a time.

The zoom gesture can be combined with the scroll gesture to allow easy navigation.

Error creating thumbnail: convert: unable to open image `/var/www/mediawiki-1.14.0/images/8/8d/Scroll.png': No such file or directory.
convert: unable to open file `/var/www/mediawiki-1.14.0/images/8/8d/Scroll.png'.
convert: missing an image filename `/var/www/mediawiki-1.14.0/images/thumb/8/8d/Scroll.png/100px-Scroll.png'.
The camera can be moved in direction of the x-axis and y-axis by touching the background of the screen with two fingers. Both motions have to start on the background of the scene.
Error creating thumbnail: convert: unable to open image `/var/www/mediawiki-1.14.0/images/7/7d/Cluster.png': No such file or directory.
convert: unable to open file `/var/www/mediawiki-1.14.0/images/7/7d/Cluster.png'.
convert: missing an image filename `/var/www/mediawiki-1.14.0/images/thumb/7/7d/Cluster.png/100px-Cluster.png'.
Lasso clustering can be used to group objects on the screen by surrounding them with one finger. Objects which have the center position within the selection are contained in the cluster.

Creating custom gesture processors

If you want to create custom gestures have a look at the tutorials (custom gesture tutorial is planned for the future).

Page as PDF

Powered by MediaWiki contact