41 #include <pcl/visualization/keyboard_event.h>
45 namespace visualization
80 unsigned int x,
unsigned int y,
81 bool alt,
bool ctrl,
bool shift,
82 bool selection_mode =
false);
140 unsigned x,
unsigned y,
141 bool alt,
bool ctrl,
bool shift,
148 selection_mode_ (selection_mode)
static const unsigned int Alt
bit pattern for the ALT key
static const unsigned int Shift
bit pattern for the Shift key
static const unsigned int Ctrl
bit pattern for the Control key
void setType(const Type &type)
Sets the mouse event type.
const MouseButton & getButton() const
unsigned int getX() const
unsigned int getY() const
void setButton(const MouseButton &button)
Set the button that caused the event.
MouseEvent(const Type &type, const MouseButton &button, unsigned int x, unsigned int y, bool alt, bool ctrl, bool shift, bool selection_mode=false)
Constructor.
unsigned int getKeyboardModifiers() const
const Type & getType() const
bool getSelectionMode() const