LuciadCPillar 2023.1.04
luciad::TouchPointEvent Class Referencefinal

Touch point event, containing a collection of touch points. More...

#include <luciad/input/touch/TouchPointEvent.h>

Public Member Functions

 TouchPointEvent (std::vector< TouchPoint > points, ModifierKeys modifierKeys)
 Creates a TouchPointEvent. More...
 
ModifierKeys getModifierKeys () const
 
const std::vector< TouchPoint > & getTouchPoints () const
 

Detailed Description

Touch point event, containing a collection of touch points.

Since
2022.0

Constructor & Destructor Documentation

◆ TouchPointEvent()

luciad::TouchPointEvent::TouchPointEvent ( std::vector< TouchPoint points,
ModifierKeys  modifierKeys 
)
explicit

Creates a TouchPointEvent.

Parameters
pointsa collection of luciad::TouchPoint instances, each with its own location and state information.
modifierKeysThe modifiers of the event.

Member Function Documentation

◆ getModifierKeys()

ModifierKeys luciad::TouchPointEvent::getModifierKeys ( ) const
Returns
the modifiers of the event.

◆ getTouchPoints()

const std::vector< TouchPoint > & luciad::TouchPointEvent::getTouchPoints ( ) const
Returns
All the touch points that participated in the touch event.