45 namespace visualization
52 static const unsigned int Alt = 1;
54 static const unsigned int Ctrl = 2;
56 static const unsigned int Shift = 4;
66 inline KeyboardEvent (
bool action,
const std::string& key_sym,
unsigned char key,
67 bool alt,
bool ctrl,
bool shift);
96 inline const std::string&
120 bool alt,
bool ctrl,
bool shift)
bool isCtrlPressed() const
unsigned char getKeyCode() const
KeyboardEvent(bool action, const std::string &key_sym, unsigned char key, bool alt, bool ctrl, bool shift)
Constructor.
bool isAltPressed() const
static const unsigned int Shift
bit patter for the Shift key
const std::string & getKeySym() const
static const unsigned int Ctrl
bit patter for the Control key
static const unsigned int Alt
bit patter for the ALT key
bool isShiftPressed() const
/brief Class representing key hit/release events