#include <VEvent.h>

Public Types | |
| enum | Button { BUTTON_NONE = -1, BUTTON_LEFT = 0, BUTTON_MIDDLE = 1, BUTTON_RIGHT = 2 } |
| enum | State { STATE_NONE = -1, STATE_UP = 0, STATE_DOWN = 1 } |
| enum | Modifier { MODIFIER_SHIFT = 0x00200000, MODIFIER_CTRL = 0x00400000, MODIFIER_ALT = 0x00800000 } |
Public Member Functions | |
| VMouseEvent (const VVector &vecPosition, const int iButton, const int iStateLeft, const int iStateMiddle, const int iStateRight, const int iModifiers) | |
| VMouseEvent () | |
| ~VMouseEvent () | |
| const VVector & | getPosition () const |
| const int | getButton () const |
| const int | getState () const |
| const int | getLeftState () const |
| const int | getMiddleState () const |
| const int | getRightState () const |
| const int | getModifiers () const |
Private Attributes | |
| VVector | position |
| int | modifier |
| int | button |
| int | state [3] |
Definition at line 21 of file VEvent.h.
| enum VMouseEvent::Button |
| enum VMouseEvent::State |
| VMouseEvent::VMouseEvent | ( | const VVector & | vecPosition, | |
| const int | iButton, | |||
| const int | iStateLeft, | |||
| const int | iStateMiddle, | |||
| const int | iStateRight, | |||
| const int | iModifiers | |||
| ) | [inline] |
Definition at line 47 of file VEvent.h.
References BUTTON_LEFT, BUTTON_MIDDLE, BUTTON_RIGHT, and state.
| VMouseEvent::VMouseEvent | ( | ) | [inline] |
Definition at line 61 of file VEvent.h.
References BUTTON_LEFT, BUTTON_MIDDLE, BUTTON_RIGHT, state, and STATE_UP.
| const VVector& VMouseEvent::getPosition | ( | ) | const [inline] |
Definition at line 72 of file VEvent.h.
References position.
Referenced by QTFCanvas::mouseClickEvent(), QVolRendCanvas::mouseDoubleClickEvent(), QTFCanvas::mouseDoubleClickEvent(), QVolRendCanvas::mouseMoveEvent(), QTFCanvas::mouseMoveEvent(), QBackgroundCanvas::mouseMoveEvent(), QBackground_Streamline::mouseMoveEvent(), and QVolRendCanvas::mousePressEvent().
| const int VMouseEvent::getButton | ( | ) | const [inline] |
| const int VMouseEvent::getState | ( | ) | const [inline] |
| const int VMouseEvent::getLeftState | ( | ) | const [inline] |
Definition at line 87 of file VEvent.h.
References BUTTON_LEFT, and state.
Referenced by QTFCanvas::mouseClickEvent(), QTFCanvas::mouseDoubleClickEvent(), QTFCanvas::mouseMoveEvent(), and QVolRendCanvas::mousePressEvent().
| const int VMouseEvent::getMiddleState | ( | ) | const [inline] |
Definition at line 92 of file VEvent.h.
References BUTTON_MIDDLE, and state.
Referenced by QTFCanvas::mouseMoveEvent().
| const int VMouseEvent::getRightState | ( | ) | const [inline] |
Definition at line 97 of file VEvent.h.
References BUTTON_RIGHT, and state.
Referenced by QTFCanvas::mouseDoubleClickEvent(), and QTFCanvas::mousePressEvent().
| const int VMouseEvent::getModifiers | ( | ) | const [inline] |
Definition at line 102 of file VEvent.h.
References modifier.
Referenced by QTFCanvas::mouseClickEvent(), QTFCanvas::mouseDoubleClickEvent(), QVolRendCanvas::mouseMoveEvent(), and QVolRendCanvas::mousePressEvent().
VVector VMouseEvent::position [private] |
int VMouseEvent::modifier [private] |
int VMouseEvent::button [private] |
int VMouseEvent::state[3] [private] |
Definition at line 112 of file VEvent.h.
Referenced by getLeftState(), getMiddleState(), getRightState(), getState(), and VMouseEvent().
1.5.4