Point Cloud Library (PCL)
1.9.1
|
39 #ifndef PCL_VISUALIZATION_MOUSE_EVENT_H_
40 #define PCL_VISUALIZATION_MOUSE_EVENT_H_
42 #include <pcl/visualization/keyboard_event.h>
46 namespace visualization
81 unsigned int x,
unsigned int y,
82 bool alt,
bool ctrl,
bool shift,
83 bool selection_mode =
false);
141 unsigned x,
unsigned y,
142 bool alt,
bool ctrl,
bool shift,
149 , selection_mode_ (selection_mode)
void setType(const Type &type)
Sets the mouse event type.
This file defines compatibility wrappers for low level I/O functions.
bool getSelectionMode() const
static const unsigned int Shift
bit patter for the Shift key
const Type & getType() const
unsigned int getKeyboardModifiers() const
MouseEvent(const Type &type, const MouseButton &button, unsigned int x, unsigned int y, bool alt, bool ctrl, bool shift, bool selection_mode=false)
Constructor.
static const unsigned int Ctrl
bit patter for the Control key
static const unsigned int Alt
bit patter for the ALT key
const MouseButton & getButton() const
void setButton(const MouseButton &button)
Set the button that caused the event.
unsigned int getY() const
unsigned int getX() const