vtkContextMouseEvent Class Reference

#include <vtkContextScene.h>

Collaboration diagram for vtkContextMouseEvent:

Collaboration graph
[legend]

List of all members.


Detailed Description

Data structure to store context scene mouse events to be passed to items.

Definition at line 226 of file vtkContextScene.h.


Public Types

enum  { LEFT_BUTTON = 0, MIDDLE_BUTTON, RIGHT_BUTTON }

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:
LEFT_BUTTON 
MIDDLE_BUTTON 
RIGHT_BUTTON 

Definition at line 231 of file vtkContextScene.h.


Member Data Documentation

Position of the mouse in item coordinate system.

Definition at line 239 of file vtkContextScene.h.

Position of the mouse the scene coordinate system.

Definition at line 242 of file vtkContextScene.h.

Position of the mouse in screen coordinates

Definition at line 245 of file vtkContextScene.h.

`Pos' at the previous mouse event.

Definition at line 248 of file vtkContextScene.h.

`ScenePos'at the previous mouse event.

Definition at line 251 of file vtkContextScene.h.

`ScreenPos' at the previous mouse event.

Definition at line 254 of file vtkContextScene.h.

Mouse button that was pressed, using the anonymous enumeration.

Definition at line 257 of file vtkContextScene.h.


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

Generated on Mon Sep 27 18:20:41 2010 for VTK by  doxygen 1.5.6