vtkContextMouseEvent Class Reference

#include <vtkContextMouseEvent.h>

Collaboration diagram for vtkContextMouseEvent:

Collaboration graph
[legend]

List of all members.


Detailed Description

data structure to represent mouse events.

Provides a convenient data structure to represent mouse events in the vtkContextScene. Passed to vtkAbstractContextItem objects.

Examples:
vtkContextMouseEvent (Examples)

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

Member Enumeration Documentation

anonymous enum

Enumeration of mouse buttons.

Enumerator:
NO_BUTTON 
LEFT_BUTTON 
MIDDLE_BUTTON 
RIGHT_BUTTON 

Definition at line 37 of file vtkContextMouseEvent.h.


Member Data Documentation

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.


The documentation for this class was generated from the following file:

Generated on Wed Aug 24 11:32:12 2011 for VTK by  doxygen 1.5.6