MeVisLab Resolution Independence API
SoKeyGrabber Class Reference

SoKeyGrabber is a general facility to grab keyboard events. More...

#include <SoKeyGrabber.h>

Inheritance diagram for SoKeyGrabber:

Public Member Functions

 SoKeyGrabber ()
 
void handleEvent (SoHandleEventAction *action) override
 
void GLRender (SoGLRenderAction *) override
 
bool affectsState () const override
 this node does not affect the state, so return false!
 

Static Public Member Functions

static void initClass ()
 

Public Attributes

SoSFBool on
 
SoSFTrigger keyPressed
 
SoSFTrigger keyReleased
 
SoSFBool shiftPressed
 
SoSFBool ctrlPressed
 
SoSFBool altPressed
 
SoSFBool isAutoRepeat
 
SoSFEnum lastKey
 
SoSFEnum key0
 
SoSFEnum key1
 
SoSFEnum key2
 
SoSFEnum key3
 
SoSFEnum key4
 
SoSFTrigger key0Pressed
 
SoSFTrigger key1Pressed
 
SoSFTrigger key2Pressed
 
SoSFTrigger key3Pressed
 
SoSFTrigger key4Pressed
 

Protected Member Functions

 ~SoKeyGrabber () override
 

Detailed Description

SoKeyGrabber is a general facility to grab keyboard events.

Definition at line 207 of file SoKeyGrabber.h.

Constructor & Destructor Documentation

◆ SoKeyGrabber()

SoKeyGrabber::SoKeyGrabber ( )

◆ ~SoKeyGrabber()

SoKeyGrabber::~SoKeyGrabber ( )
overrideprotected

Member Function Documentation

◆ affectsState()

bool SoKeyGrabber::affectsState ( ) const
inlineoverride

this node does not affect the state, so return false!

Definition at line 241 of file SoKeyGrabber.h.

◆ GLRender()

void SoKeyGrabber::GLRender ( SoGLRenderAction * )
inlineoverride

Definition at line 239 of file SoKeyGrabber.h.

◆ handleEvent()

void SoKeyGrabber::handleEvent ( SoHandleEventAction * action)
override

◆ initClass()

static void SoKeyGrabber::initClass ( )
static

Member Data Documentation

◆ altPressed

SoSFBool SoKeyGrabber::altPressed

Definition at line 218 of file SoKeyGrabber.h.

◆ ctrlPressed

SoSFBool SoKeyGrabber::ctrlPressed

Definition at line 217 of file SoKeyGrabber.h.

◆ isAutoRepeat

SoSFBool SoKeyGrabber::isAutoRepeat

Definition at line 219 of file SoKeyGrabber.h.

◆ key0

SoSFEnum SoKeyGrabber::key0

Definition at line 222 of file SoKeyGrabber.h.

◆ key0Pressed

SoSFTrigger SoKeyGrabber::key0Pressed

Definition at line 227 of file SoKeyGrabber.h.

◆ key1

SoSFEnum SoKeyGrabber::key1

Definition at line 223 of file SoKeyGrabber.h.

◆ key1Pressed

SoSFTrigger SoKeyGrabber::key1Pressed

Definition at line 228 of file SoKeyGrabber.h.

◆ key2

SoSFEnum SoKeyGrabber::key2

Definition at line 224 of file SoKeyGrabber.h.

◆ key2Pressed

SoSFTrigger SoKeyGrabber::key2Pressed

Definition at line 229 of file SoKeyGrabber.h.

◆ key3

SoSFEnum SoKeyGrabber::key3

Definition at line 225 of file SoKeyGrabber.h.

◆ key3Pressed

SoSFTrigger SoKeyGrabber::key3Pressed

Definition at line 230 of file SoKeyGrabber.h.

◆ key4

SoSFEnum SoKeyGrabber::key4

Definition at line 226 of file SoKeyGrabber.h.

◆ key4Pressed

SoSFTrigger SoKeyGrabber::key4Pressed

Definition at line 231 of file SoKeyGrabber.h.

◆ keyPressed

SoSFTrigger SoKeyGrabber::keyPressed

Definition at line 214 of file SoKeyGrabber.h.

◆ keyReleased

SoSFTrigger SoKeyGrabber::keyReleased

Definition at line 215 of file SoKeyGrabber.h.

◆ lastKey

SoSFEnum SoKeyGrabber::lastKey

Definition at line 221 of file SoKeyGrabber.h.

◆ on

SoSFBool SoKeyGrabber::on

Definition at line 212 of file SoKeyGrabber.h.

◆ shiftPressed

SoSFBool SoKeyGrabber::shiftPressed

Definition at line 216 of file SoKeyGrabber.h.


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