OpendTect  7.0
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 ()
 
float maxPostPressDist () const
 
float postPressDist () const
 
int postPressTime () const
 

Static Public Member Functions

static const TabletInfocurrentState ()
 

Public Attributes

TabletDevice device_
 
EventType eventtype_
 
Geom::Point2D< int > globalpos_
 
PointerType pointertype_
 
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

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

Friends

class QtTabletEventFilter
 

Detailed Description

<>

Member Enumeration Documentation

◆ EventType

Enumerator
None 
Move 
Press 
Release 
EnterProximity 
LeaveProximity 

◆ PointerType

Enumerator
UnknownPointer 
Pen 
Cursor 
Eraser 

◆ TabletDevice

Enumerator
NoDevice 
Puck 
Stylus 
Airbrush 
FourDMouse 
RotationStylus 

Constructor & Destructor Documentation

◆ TabletInfo()

TabletInfo::TabletInfo ( )

Member Function Documentation

◆ currentState()

static const TabletInfo* TabletInfo::currentState ( )
static

◆ latestState()

static TabletInfo& TabletInfo::latestState ( )
staticprotected

◆ maxPostPressDist()

float TabletInfo::maxPostPressDist ( ) const

◆ postPressDist()

float TabletInfo::postPressDist ( ) const

◆ postPressTime()

int TabletInfo::postPressTime ( ) const

◆ updatePressData()

void TabletInfo::updatePressData ( )
protected

Friends And Related Function Documentation

◆ QtTabletEventFilter

friend class QtTabletEventFilter
friend

Member Data Documentation

◆ device_

TabletDevice TabletInfo::device_

◆ eventtype_

EventType TabletInfo::eventtype_

◆ globalpos_

Geom::Point2D<int> TabletInfo::globalpos_

◆ globalpresspos_

Geom::Point2D<int> TabletInfo::globalpresspos_
protected

◆ maxpostpressdist_

float TabletInfo::maxpostpressdist_
protected

◆ pointertype_

PointerType TabletInfo::pointertype_

◆ pos_

Geom::Point2D<int> TabletInfo::pos_

◆ presstimestamp_

int TabletInfo::presstimestamp_
protected

◆ pressure_

double TabletInfo::pressure_

◆ rotation_

double TabletInfo::rotation_

◆ tangentialpressure_

double TabletInfo::tangentialpressure_

◆ uniqueid_

od_int64 TabletInfo::uniqueid_

◆ xtilt_

int TabletInfo::xtilt_

◆ ytilt_

int TabletInfo::ytilt_

◆ z_

int TabletInfo::z_

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