This class generates high-level touch gesture events from low-level input events.
More...
This class generates high-level touch gesture events from low-level input events.
High level events are subclasses of luciad::IInputEvent such as luciad::TouchTapEvent. Sequences of low level events are used to create those high level events. For example, a touch press + movement of the touch point (possibly multiple times) sequence is recognized as a touch drag gesture. A touch press + a touch release sequence is recognized as a touch tap gesture. This class is useful when adding integration with a platform that does not provide these more high-level events. A typical use of such a class is to wire it to a UI framework specific class (such as Qt , see QQuickMapObject in the sample code) and make the controller react to the high level event instead of every low level event the framework can fire. The use of the TouchGestureRecognizer is optional. A controller implementation can use custom conversion code if needed, for example if you want to manage the low level events yourself and create other high level luciad::IInputEvent instances. The events passed to this class are expected to be defined in device independent pixels. 2022.0
- Warning
- C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::TouchGestureRecognizer.