OpendTect  7.0
Public Types | Public Member Functions | Protected Attributes | List of all members
GestureEvent Class Reference

Stores event information from gesture event. More...

Public Types

enum  State { Started , Moving , Finished }
 

Public Member Functions

 GestureEvent (int xx, int yy, float sc, float angl)
 
float angle () const
 
State getState () const
 
const Geom::Point2D< int > & pos () const
 
float scale () const
 
void setState (State st)
 
int x () const
 
int y () const
 

Protected Attributes

float angle_
 
Geom::Point2D< int > pos_
 
float scale_
 
State state_ = Started
 

Detailed Description

Stores event information from gesture event.

<>

Member Enumeration Documentation

◆ State

Enumerator
Started 
Moving 
Finished 

Constructor & Destructor Documentation

◆ GestureEvent()

GestureEvent::GestureEvent ( int  xx,
int  yy,
float  sc,
float  angl 
)
inline

Member Function Documentation

◆ angle()

float GestureEvent::angle ( ) const
inline

◆ getState()

State GestureEvent::getState ( ) const
inline

◆ pos()

const Geom::Point2D<int>& GestureEvent::pos ( ) const
inline

◆ scale()

float GestureEvent::scale ( ) const
inline

◆ setState()

void GestureEvent::setState ( State  st)
inline

◆ x()

int GestureEvent::x ( ) const
inline

◆ y()

int GestureEvent::y ( ) const
inline

Member Data Documentation

◆ angle_

float GestureEvent::angle_
protected

◆ pos_

Geom::Point2D<int> GestureEvent::pos_
protected

◆ scale_

float GestureEvent::scale_
protected

◆ state_

State GestureEvent::state_ = Started
protected

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