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
static const unsigned int Ctrl
bit patter for the Control key
KeyboardEvent(bool action, const std::string &key_sym, unsigned char key, bool alt, bool ctrl, bool shift)
Constructor.
static const unsigned int Shift
bit patter for the Shift key
/brief Class representing key hit/release events
unsigned char getKeyCode() const
const std::string & getKeySym() const
bool isCtrlPressed() const
bool isAltPressed() const
static const unsigned int Alt
bit patter for the ALT key