VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Charts
vtkContextMouseEvent.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkContextScene.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
15
27
#ifndef __vtkContextMouseEvent_h
28
#define __vtkContextMouseEvent_h
29
30
#include "
vtkVector.h
"
// Needed for vtkVector2f and vtkVector2i
31
32
class
vtkContextMouseEvent
33
{
34
public
:
36
37
enum
{
38
NO_BUTTON
= 0,
39
LEFT_BUTTON
= 1,
40
MIDDLE_BUTTON
= 2,
41
RIGHT_BUTTON
= 4
42
};
44
46
vtkVector2f
Pos
;
47
49
vtkVector2f
ScenePos
;
50
52
vtkVector2i
ScreenPos
;
53
55
vtkVector2f
LastPos
;
56
58
vtkVector2f
LastScenePos
;
59
61
vtkVector2i
LastScreenPos
;
62
64
65
int
Button
;
66
};
67
//ETX
69
70
#endif // __vtkContextMouseEvent_h
Generated on Sun Sep 15 2013 03:44:18 for VTK by
1.8.4