OpendTect-6_4  6.4
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Friends | List of all members
TabletInfo Class Reference

Public Types

enum  EventType {
  None =0, Move =87, Press =92, Release =93,
  EnterProximity =171, LeaveProximity =172
}
 
enum  PointerType { UnknownPointer, Pen, Cursor, Eraser }
 
enum  TabletDevice {
  NoDevice, Puck, Stylus, Airbrush,
  FourDMouse, RotationStylus
}
 

Public Member Functions

 TabletInfo ()
 
int postPressTime () const
 
float postPressDist () const
 
float maxPostPressDist () const
 

Static Public Member Functions

static const TabletInfocurrentState ()
 

Public Attributes

EventType eventtype_
 
PointerType pointertype_
 
TabletDevice device_
 
Geom::Point2D< int > globalpos_
 
Geom::Point2D< int > pos_
 
double pressure_
 
double rotation_
 
double tangentialpressure_
 
od_int64 uniqueid_
 
int xtilt_
 
int ytilt_
 
int z_
 

Protected Member Functions

void updatePressData ()
 

Static Protected Member Functions

static TabletInfolatestState ()
 

Protected Attributes

int presstimestamp_
 
float maxpostpressdist_
 
Geom::Point2D< int > globalpresspos_
 

Friends

class QtTabletEventFilter
 

Detailed Description

Member Enumeration Documentation

Enumerator
None 
Move 
Press 
Release 
EnterProximity 
LeaveProximity 
Enumerator
UnknownPointer 
Pen 
Cursor 
Eraser 
Enumerator
NoDevice 
Puck 
Stylus 
Airbrush 
FourDMouse 
RotationStylus 

Constructor & Destructor Documentation

TabletInfo::TabletInfo ( )

Member Function Documentation

static const TabletInfo* TabletInfo::currentState ( )
static
static TabletInfo& TabletInfo::latestState ( )
staticprotected
float TabletInfo::maxPostPressDist ( ) const
float TabletInfo::postPressDist ( ) const
int TabletInfo::postPressTime ( ) const
void TabletInfo::updatePressData ( )
protected

Friends And Related Function Documentation

friend class QtTabletEventFilter
friend

Member Data Documentation

TabletDevice TabletInfo::device_
EventType TabletInfo::eventtype_
Geom::Point2D<int> TabletInfo::globalpos_
Geom::Point2D<int> TabletInfo::globalpresspos_
protected
float TabletInfo::maxpostpressdist_
protected
PointerType TabletInfo::pointertype_
Geom::Point2D<int> TabletInfo::pos_
int TabletInfo::presstimestamp_
protected
double TabletInfo::pressure_
double TabletInfo::rotation_
double TabletInfo::tangentialpressure_
od_int64 TabletInfo::uniqueid_
int TabletInfo::xtilt_
int TabletInfo::ytilt_
int TabletInfo::z_

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019