Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::TouchDevice Class Reference

Touch device that generated a touch event. Touch screen device generate points that are physically located on screen. Touch pad device is similar to a mouse, which generate points that are off-screen. More...

#include <touchevent.h>

Public Types

enum class  DeviceType { TouchScreen = 0 , TouchPad }
 

Public Member Functions

 TouchDevice (DeviceType type=DeviceType::TouchScreen, std::string name="")
 
DeviceType getType () const
 
void setType (DeviceType type)
 
std::string getName () const
 
void setName (std::string name)
 

Detailed Description

Touch device that generated a touch event. Touch screen device generate points that are physically located on screen. Touch pad device is similar to a mouse, which generate points that are off-screen.

See also
TouchEvent

Member Enumeration Documentation

◆ DeviceType

Enumerator
TouchScreen 

Touch points are physically located on screen.

TouchPad 

Touch points are not on the screen. More similar to mouse.


The documentation for this class was generated from the following file: