VTK
|
data structure to represent mouse events. More...
#include <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 |
data structure to represent mouse events.
Provides a convenient data structure to represent mouse events in the vtkContextScene. Passed to vtkAbstractContextItem objects.
Definition at line 32 of file vtkContextMouseEvent.h.
anonymous enum |
Enumeration of mouse buttons.
Enumerator | |
---|---|
NO_BUTTON | |
LEFT_BUTTON | |
MIDDLE_BUTTON | |
RIGHT_BUTTON |
Definition at line 37 of file vtkContextMouseEvent.h.
vtkVector2f vtkContextMouseEvent::Pos |
Position of the mouse in item coordinate system.
Definition at line 46 of file vtkContextMouseEvent.h.
vtkVector2f vtkContextMouseEvent::ScenePos |
Position of the mouse the scene coordinate system.
Definition at line 49 of file vtkContextMouseEvent.h.
vtkVector2i vtkContextMouseEvent::ScreenPos |
Position of the mouse in screen coordinates
Definition at line 52 of file vtkContextMouseEvent.h.
vtkVector2f vtkContextMouseEvent::LastPos |
`Pos' at the previous mouse event.
Definition at line 55 of file vtkContextMouseEvent.h.
vtkVector2f vtkContextMouseEvent::LastScenePos |
`ScenePos'at the previous mouse event.
Definition at line 58 of file vtkContextMouseEvent.h.
vtkVector2i vtkContextMouseEvent::LastScreenPos |
`ScreenPos' at the previous mouse event.
Definition at line 61 of file vtkContextMouseEvent.h.
int vtkContextMouseEvent::Button |
Mouse button that caused the event, using the anonymous enumeration.
Definition at line 65 of file vtkContextMouseEvent.h.