MeVisLab Toolbox Reference
SoKeyGrabber.h File Reference
#include <Inventor/fields/SoFields.h>
#include <Inventor/nodes/SoSeparator.h>
#include <Inventor/nodes/SoSubNode.h>

Go to the source code of this file.

Classes

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

Enumerations

enum  KeyType {
  ANY = 0 , LEFT_SHIFT = 0xffe1 , RIGHT_SHIFT = 0xffe2 , LEFT_CONTROL = 0xffe3 ,
  RIGHT_CONTROL = 0xffe4 , LEFT_ALT = 0xffe9 , RIGHT_ALT = 0xffea , NUMBER_0 = 0x030 ,
  NUMBER_1 = 0x031 , NUMBER_2 = 0x032 , NUMBER_3 = 0x033 , NUMBER_4 = 0x034 ,
  NUMBER_5 = 0x035 , NUMBER_6 = 0x036 , NUMBER_7 = 0x037 , NUMBER_8 = 0x038 ,
  NUMBER_9 = 0x039 , A = 0x061 , B = 0x062 , C = 0x063 ,
  D = 0x064 , E = 0x065 , F = 0x066 , G = 0x067 ,
  H = 0x068 , I = 0x069 , J = 0x06a , K = 0x06b ,
  L = 0x06c , M = 0x06d , N = 0x06e , O = 0x06f ,
  P = 0x070 , Q = 0x071 , R = 0x072 , S = 0x073 ,
  T = 0x074 , U = 0x075 , V = 0x076 , W = 0x077 ,
  X = 0x078 , Y = 0x079 , Z = 0x07a , HOME = 0xff50 ,
  LEFT_ARROW = 0xff51 , UP_ARROW = 0xff52 , RIGHT_ARROW = 0xff53 , DOWN_ARROW = 0xff54 ,
  PAGE_UP = 0xff55 , PAGE_DOWN = 0xff56 , PRIOR = 0xff55 , NEXT = 0xff56 ,
  END = 0xff57 , PAD_ENTER = 0xff8d , PAD_F1 = 0xff91 , PAD_F2 = 0xff92 ,
  PAD_F3 = 0xff93 , PAD_F4 = 0xff94 , PAD_0 = 0xff9e , PAD_1 = 0xff9c ,
  PAD_2 = 0xff99 , PAD_3 = 0xff9b , PAD_4 = 0xff96 , PAD_5 = 0xff9d ,
  PAD_6 = 0xff98 , PAD_7 = 0xff95 , PAD_8 = 0xff97 , PAD_9 = 0xff9a ,
  PAD_ADD = 0xffab , PAD_SUBTRACT = 0xffad , PAD_MULTIPLY = 0xffaa , PAD_DIVIDE = 0xffaf ,
  PAD_SPACE = 0xff8d , PAD_TAB = 0xff89 , PAD_INSERT = 0xff9e , PAD_DELETE = 0xff9f ,
  PAD_PERIOD = 0xff9f , F1 = 0xffbe , F2 = 0xffbf , F3 = 0xffc0 ,
  F4 = 0xffc1 , F5 = 0xffc2 , F6 = 0xffc3 , F7 = 0xffc4 ,
  F8 = 0xffc5 , F9 = 0xffc6 , F10 = 0xffc7 , F11 = 0xffc8 ,
  F12 = 0xffc9 , BACKSPACE = 0xff08 , TAB = 0xff09 , RETURN = 0xff0d ,
  ENTER = 0xff0d , PAUSE = 0xff13 , SCROLL_LOCK = 0xff14 , ESCAPE = 0xff1b ,
  KEY_DELETE = 0xFFFF , PRINT = 0xff61 , INSERT = 0xff63 , RIGHT_SUPER = 0xff67 ,
  NUM_LOCK = 0xff7f , CAPS_LOCK = 0xffe5 , SHIFT_LOCK = 0xffe6 , LEFT_SUPER = 0xffe7 ,
  SPACE = 0x020 , EXCLAM = 0x021 , QUOTEDBL = 0x022 , NUMBERSIGN = 0x023 ,
  DOLLAR = 0x024 , PERCENT = 0x025 , AMPERSAND = 0x026 , APOSTROPHE = 0x027 ,
  PARENLEFT = 0x028 , PARENRIGHT = 0x029 , ASTERISK = 0x02a , PLUS = 0x02b ,
  COMMA = 0x02c , MINUS = 0x02d , PERIOD = 0x02e , SLASH = 0x02f ,
  COLON = 0x03a , SEMICOLON = 0x03b , LESS = 0x03c , EQUAL = 0x03d ,
  GREATER = 0x03e , QUESTION = 0x03f , AT = 0x040 , BRACKETLEFT = 0x05b ,
  BACKSLASH = 0x05c , BRACKETRIGHT = 0x05d , ASCIICIRCUM = 0x05e , UNDERSCORE = 0x05f ,
  GRAVE = 0x060 , BRACELEFT = 0x07b , BAR = 0x07c , BRACERIGHT = 0x07d ,
  ASCIITILDE = 0x07e
}
 SoKeyGrabber is a general facility to grab keyboard events. More...
 

Enumeration Type Documentation

◆ KeyType

SoKeyGrabber is a general facility to grab keyboard events.

Enumerator for Open Inventor keys

Enumerator
ANY 

Special constant for any key.

LEFT_SHIFT 

Modifiers.

RIGHT_SHIFT 
LEFT_CONTROL 
RIGHT_CONTROL 
LEFT_ALT 
RIGHT_ALT 
NUMBER_0 

Numbers.

NUMBER_1 
NUMBER_2 
NUMBER_3 
NUMBER_4 
NUMBER_5 
NUMBER_6 
NUMBER_7 
NUMBER_8 
NUMBER_9 

Letters.

HOME 

Cursor control & motion.

LEFT_ARROW 
UP_ARROW 
RIGHT_ARROW 
DOWN_ARROW 
PAGE_UP 
PAGE_DOWN 
PRIOR 
NEXT 
END 
PAD_ENTER 

Keypad Functions.

PAD_F1 
PAD_F2 
PAD_F3 
PAD_F4 
PAD_0 
PAD_1 
PAD_2 
PAD_3 
PAD_4 
PAD_5 
PAD_6 
PAD_7 
PAD_8 
PAD_9 
PAD_ADD 
PAD_SUBTRACT 
PAD_MULTIPLY 
PAD_DIVIDE 
PAD_SPACE 
PAD_TAB 
PAD_INSERT 
PAD_DELETE 
PAD_PERIOD 
F1 

Function keys.

F2 
F3 
F4 
F5 
F6 
F7 
F8 
F9 
F10 
F11 
F12 
BACKSPACE 

Misc Functions.

TAB 
RETURN 
ENTER 
PAUSE 
SCROLL_LOCK 
ESCAPE 
KEY_DELETE 
PRINT 
INSERT 
RIGHT_SUPER 
NUM_LOCK 
CAPS_LOCK 
SHIFT_LOCK 
LEFT_SUPER 
SPACE 
EXCLAM 
QUOTEDBL 
NUMBERSIGN 
DOLLAR 
PERCENT 
AMPERSAND 
APOSTROPHE 
PARENLEFT 
PARENRIGHT 
ASTERISK 
PLUS 
COMMA 
MINUS 
PERIOD 
SLASH 
COLON 
SEMICOLON 
LESS 
EQUAL 
GREATER 
QUESTION 
AT 
BRACKETLEFT 
BACKSLASH 
BRACKETRIGHT 
ASCIICIRCUM 
UNDERSCORE 
GRAVE 
BRACELEFT 
BAR 
BRACERIGHT 
ASCIITILDE 

Definition at line 24 of file SoKeyGrabber.h.