BlosSOM
Interactive dimensionality reduction on large datasets (EmbedSOM and FLOWER combined)
|
Mouse events data storage. More...
#include <mouse_data.h>
Public Member Functions | |
MouseData () | |
void | reset () |
Public Attributes | |
int | button |
Left, right or middle button. More... | |
int | action |
Pressed, released or held button. More... | |
double | xoffset |
Offset of the mouse wheel along x-axis. More... | |
double | yoffset |
Offset of the mouse wheel along y-axis. More... | |
glm::vec2 | pos |
Raw mouse cursor coordinates on the screen ([0,0] in the upper left corner). More... | |
Mouse events data storage.
Definition at line 28 of file mouse_data.h.
|
inline |
|
inline |
int MouseData::action |
Pressed, released or held button.
Definition at line 33 of file mouse_data.h.
int MouseData::button |
Left, right or middle button.
Definition at line 31 of file mouse_data.h.
glm::vec2 MouseData::pos |
Raw mouse cursor coordinates on the screen ([0,0] in the upper left corner).
Have to convert it to coordinates with [0,0] in the middle of the screen.
Definition at line 45 of file mouse_data.h.
double MouseData::xoffset |
Offset of the mouse wheel along x-axis.
Definition at line 36 of file mouse_data.h.
double MouseData::yoffset |
Offset of the mouse wheel along y-axis.
Definition at line 38 of file mouse_data.h.