#include <vtkContextMouseEvent.h>
Provides a convenient data structure to represent mouse events in the vtkContextScene. Passed to vtkAbstractContextItem objects.
Definition at line 32 of file vtkContextMouseEvent.h.
Public Types | |
enum | { NO_BUTTON = 0, LEFT_BUTTON = 1, MIDDLE_BUTTON = 2, RIGHT_BUTTON = 4 } |
Public Attributes | |
vtkVector2f | Pos |
vtkVector2f | ScenePos |
vtkVector2i | ScreenPos |
vtkVector2f | LastPos |
vtkVector2f | LastScenePos |
vtkVector2i | LastScreenPos |
int | Button |
anonymous enum |
Enumeration of mouse buttons.
Definition at line 37 of file vtkContextMouseEvent.h.
Position of the mouse in item coordinate system.
Definition at line 46 of file vtkContextMouseEvent.h.
Position of the mouse the scene coordinate system.
Definition at line 49 of file vtkContextMouseEvent.h.
Position of the mouse in screen coordinates
Definition at line 52 of file vtkContextMouseEvent.h.
`Pos' at the previous mouse event.
Definition at line 55 of file vtkContextMouseEvent.h.
`ScenePos'at the previous mouse event.
Definition at line 58 of file vtkContextMouseEvent.h.
`ScreenPos' at the previous mouse event.
Definition at line 61 of file vtkContextMouseEvent.h.
Mouse button that caused the event, using the anonymous enumeration.
Definition at line 65 of file vtkContextMouseEvent.h.