39 #ifndef PCL_VISUALIZATION_KEYBOARD_EVENT_H_
40 #define PCL_VISUALIZATION_KEYBOARD_EVENT_H_
46 namespace visualization
53 static const unsigned int Alt = 1;
55 static const unsigned int Ctrl = 2;
57 static const unsigned int Shift = 4;
67 inline KeyboardEvent (
bool action,
const std::string& key_sym,
unsigned char key,
68 bool alt,
bool ctrl,
bool shift);
97 inline const std::string&
121 bool alt,
bool ctrl,
bool shift)
bool isShiftPressed() const
bool isAltPressed() const
bool isCtrlPressed() const
static const unsigned int Alt
bit patter for the ALT key
static const unsigned int Shift
bit patter for the Shift key
static const unsigned int Ctrl
bit patter for the Control key
/brief Class representing key hit/release events
const std::string & getKeySym() const
unsigned char getKeyCode() const
KeyboardEvent(bool action, const std::string &key_sym, unsigned char key, bool alt, bool ctrl, bool shift)
Constructor.