Open CASCADE Technology  7.4.0
Public Member Functions | Data Fields

Aspect_Touch Class Reference

Structure holding touch position - original and current location. More...

#include <Aspect_Touch.hxx>

Public Member Functions

NCollection_Vec2< Standard_RealDelta () const
 Return values delta. More...
 
 Aspect_Touch ()
 Empty constructor. More...
 
 Aspect_Touch (const NCollection_Vec2< Standard_Real > &thePnt, Standard_Boolean theIsPreciseDevice)
 Constructor with initialization. More...
 
 Aspect_Touch (Standard_Real theX, Standard_Real theY, Standard_Boolean theIsPreciseDevice)
 Constructor with initialization. More...
 

Data Fields

NCollection_Vec2< Standard_RealFrom
 original touch position More...
 
NCollection_Vec2< Standard_RealTo
 current touch position More...
 
Standard_Boolean IsPreciseDevice
 precise device input (e.g. mouse cursor, NOT emulated from touch screen) More...
 

Detailed Description

Structure holding touch position - original and current location.

Constructor & Destructor Documentation

◆ Aspect_Touch() [1/3]

Aspect_Touch::Aspect_Touch ( )
inline

Empty constructor.

◆ Aspect_Touch() [2/3]

Aspect_Touch::Aspect_Touch ( const NCollection_Vec2< Standard_Real > &  thePnt,
Standard_Boolean  theIsPreciseDevice 
)
inline

Constructor with initialization.

◆ Aspect_Touch() [3/3]

Aspect_Touch::Aspect_Touch ( Standard_Real  theX,
Standard_Real  theY,
Standard_Boolean  theIsPreciseDevice 
)
inline

Constructor with initialization.

Member Function Documentation

◆ Delta()

NCollection_Vec2<Standard_Real> Aspect_Touch::Delta ( ) const
inline

Return values delta.

Field Documentation

◆ From

NCollection_Vec2<Standard_Real> Aspect_Touch::From

original touch position

◆ IsPreciseDevice

Standard_Boolean Aspect_Touch::IsPreciseDevice

precise device input (e.g. mouse cursor, NOT emulated from touch screen)

◆ To

NCollection_Vec2<Standard_Real> Aspect_Touch::To

current touch position


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