Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QTuioToken Class Reference

#include <qtuiotoken_p.h>

+ Collaboration diagram for QTuioToken:

Public Member Functions

 QTuioToken (int id=-1)
 
int id () const
 
int classId () const
 
void setClassId (int classId)
 
void setX (float x)
 
float x () const
 
void setY (float y)
 
float y () const
 
void setVX (float vx)
 
float vx () const
 
void setVY (float vy)
 
float vy () const
 
void setAcceleration (float acceleration)
 
float acceleration () const
 
float angle () const
 
void setAngle (float angle)
 
float angularVelocity () const
 
void setAngularVelocity (float angularVelocity)
 
float angularAcceleration () const
 
void setAngularAcceleration (float angularAcceleration)
 
void setState (const QEventPoint::State &state)
 
QEventPoint::State state () const
 

Detailed Description

A fiducial object, or token, represented by 2Dobj in TUIO 1.x and tok in TUIO 2: a physical object whose position and rotation can be uniquely tracked on the touchscreen surface.

Definition at line 19 of file qtuiotoken_p.h.

Constructor & Destructor Documentation

◆ QTuioToken()

QTuioToken::QTuioToken ( int id = -1)
inline

Definition at line 22 of file qtuiotoken_p.h.

Member Function Documentation

◆ acceleration()

float QTuioToken::acceleration ( ) const
inline

Definition at line 69 of file qtuiotoken_p.h.

Referenced by setAcceleration().

+ Here is the caller graph for this function:

◆ angle()

float QTuioToken::angle ( ) const
inline

Definition at line 71 of file qtuiotoken_p.h.

Referenced by setAngle().

+ Here is the caller graph for this function:

◆ angularAcceleration()

float QTuioToken::angularAcceleration ( ) const
inline

Definition at line 86 of file qtuiotoken_p.h.

Referenced by setAngularAcceleration().

+ Here is the caller graph for this function:

◆ angularVelocity()

float QTuioToken::angularVelocity ( ) const
inline

Definition at line 83 of file qtuiotoken_p.h.

Referenced by setAngularVelocity().

+ Here is the caller graph for this function:

◆ classId()

int QTuioToken::classId ( ) const
inline

Definition at line 39 of file qtuiotoken_p.h.

Referenced by setClassId().

+ Here is the caller graph for this function:

◆ id()

int QTuioToken::id ( ) const
inline

Definition at line 37 of file qtuiotoken_p.h.

◆ setAcceleration()

void QTuioToken::setAcceleration ( float acceleration)
inline

Definition at line 68 of file qtuiotoken_p.h.

References acceleration().

+ Here is the call graph for this function:

◆ setAngle()

void QTuioToken::setAngle ( float angle)
inline

Definition at line 72 of file qtuiotoken_p.h.

References angle(), M_PI, qFuzzyCompare(), setState(), state(), QEventPoint::Stationary, and QEventPoint::Updated.

+ Here is the call graph for this function:

◆ setAngularAcceleration()

void QTuioToken::setAngularAcceleration ( float angularAcceleration)
inline

Definition at line 87 of file qtuiotoken_p.h.

References angularAcceleration().

+ Here is the call graph for this function:

◆ setAngularVelocity()

void QTuioToken::setAngularVelocity ( float angularVelocity)
inline

Definition at line 84 of file qtuiotoken_p.h.

References angularVelocity().

+ Here is the call graph for this function:

◆ setClassId()

void QTuioToken::setClassId ( int classId)
inline

Definition at line 40 of file qtuiotoken_p.h.

References classId().

+ Here is the call graph for this function:

◆ setState()

void QTuioToken::setState ( const QEventPoint::State & state)
inline

Definition at line 89 of file qtuiotoken_p.h.

References state().

Referenced by setAngle(), setX(), and setY().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setVX()

void QTuioToken::setVX ( float vx)
inline

Definition at line 62 of file qtuiotoken_p.h.

References vx().

+ Here is the call graph for this function:

◆ setVY()

void QTuioToken::setVY ( float vy)
inline

Definition at line 65 of file qtuiotoken_p.h.

References vy().

+ Here is the call graph for this function:

◆ setX()

void QTuioToken::setX ( float x)
inline

Definition at line 42 of file qtuiotoken_p.h.

References qFuzzyCompare(), setState(), state(), QEventPoint::Stationary, QEventPoint::Updated, and x().

+ Here is the call graph for this function:

◆ setY()

void QTuioToken::setY ( float y)
inline

Definition at line 52 of file qtuiotoken_p.h.

References qFuzzyCompare(), setState(), state(), QEventPoint::Stationary, QEventPoint::Updated, and y().

+ Here is the call graph for this function:

◆ state()

QEventPoint::State QTuioToken::state ( ) const
inline

Definition at line 90 of file qtuiotoken_p.h.

Referenced by setAngle(), setState(), setX(), and setY().

+ Here is the caller graph for this function:

◆ vx()

float QTuioToken::vx ( ) const
inline

Definition at line 63 of file qtuiotoken_p.h.

Referenced by setVX().

+ Here is the caller graph for this function:

◆ vy()

float QTuioToken::vy ( ) const
inline

Definition at line 66 of file qtuiotoken_p.h.

Referenced by setVY().

+ Here is the caller graph for this function:

◆ x()

float QTuioToken::x ( ) const
inline

Definition at line 50 of file qtuiotoken_p.h.

Referenced by setX().

+ Here is the caller graph for this function:

◆ y()

float QTuioToken::y ( ) const
inline

Definition at line 60 of file qtuiotoken_p.h.

Referenced by setY().

+ Here is the caller graph for this function:

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