Gui::NS::Event Class Reference

Classes

struct  Flags
 

Public Types

enum  {
  BUTTON1DOWN = 0x00000100 , BUTTON2DOWN = 0x00000001 , BUTTON3DOWN = 0x00000010 , CTRLDOWN = 0x00100000 ,
  SHIFTDOWN = 0x01000000 , ALTDOWN = 0x00010000 , MASKBUTTONS = BUTTON1DOWN | BUTTON2DOWN | BUTTON3DOWN , MASKMODIFIERS = CTRLDOWN | SHIFTDOWN | ALTDOWN
}
 

Public Member Functions

const SoGestureEventasGestureEvent () const
 
const SoKeyboardEvent * asKeyboardEvent () const
 
const SoLocation2Event * asLocation2Event () const
 
const SoMouseButtonEvent * asMouseButtonEvent () const
 
 Event ()
 
bool isGestureActive () const
 
bool isGestureEvent () const
 
bool isKeyboardEvent () const
 
bool isLocation2Event () const
 
bool isMotion3Event () const
 
bool isMouseButtonEvent () const
 
bool isPress (int button_index) const
 
bool isRelease (int button_index) const
 
unsigned int kbdstate () const
 
void log () const
 
unsigned int mbstate () const
 
virtual ~Event ()
 

Public Attributes

std::shared_ptr< Flagsflags
 
const SoEventinventor_event
 
unsigned int modifiers
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
BUTTON1DOWN 
BUTTON2DOWN 
BUTTON3DOWN 
CTRLDOWN 
SHIFTDOWN 
ALTDOWN 
MASKBUTTONS 
MASKMODIFIERS 

Constructor & Destructor Documentation

◆ Event()

Gui::NS::Event::Event ( )

◆ ~Event()

virtual Gui::NS::Event::~Event ( )
virtual

Member Function Documentation

◆ asGestureEvent()

const SoGestureEvent * Gui::NS::Event::asGestureEvent ( ) const

◆ asKeyboardEvent()

const SoKeyboardEvent * Gui::NS::Event::asKeyboardEvent ( ) const

References inventor_event.

Referenced by Gui::NS::IdleState::react().

◆ asLocation2Event()

const SoLocation2Event * Gui::NS::Event::asLocation2Event ( ) const

References inventor_event.

◆ asMouseButtonEvent()

const SoMouseButtonEvent * Gui::NS::Event::asMouseButtonEvent ( ) const

◆ isGestureActive()

◆ isGestureEvent()

◆ isKeyboardEvent()

bool Gui::NS::Event::isKeyboardEvent ( ) const

References inventor_event.

Referenced by Gui::NS::IdleState::react().

◆ isLocation2Event()

◆ isMotion3Event()

bool Gui::NS::Event::isMotion3Event ( ) const

References inventor_event.

Referenced by Gui::NS::IdleState::react().

◆ isMouseButtonEvent()

◆ isPress()

◆ isRelease()

◆ kbdstate()

unsigned int Gui::NS::Event::kbdstate ( ) const

References MASKMODIFIERS, and modifiers.

◆ log()

◆ mbstate()

Member Data Documentation

◆ flags

◆ inventor_event

◆ modifiers


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