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
vtkContextMouseEvent::ScenePos
vtkVector2f ScenePos
Definition:
vtkContextMouseEvent.h:49
vtkContextMouseEvent::RIGHT_BUTTON
Definition:
vtkContextMouseEvent.h:41
vtkContextMouseEvent::LastPos
vtkVector2f LastPos
Definition:
vtkContextMouseEvent.h:55
vtkContextMouseEvent::Button
int Button
Definition:
vtkContextMouseEvent.h:65
vtkContextMouseEvent::Pos
vtkVector2f Pos
Definition:
vtkContextMouseEvent.h:46
vtkContextMouseEvent::LastScreenPos
vtkVector2i LastScreenPos
Definition:
vtkContextMouseEvent.h:61
vtkContextMouseEvent::LEFT_BUTTON
Definition:
vtkContextMouseEvent.h:39
vtkContextMouseEvent::MIDDLE_BUTTON
Definition:
vtkContextMouseEvent.h:40
vtkContextMouseEvent::ScreenPos
vtkVector2i ScreenPos
Definition:
vtkContextMouseEvent.h:52
vtkContextMouseEvent
data structure to represent mouse events.
Definition:
vtkContextMouseEvent.h:32
vtkVector2i
Definition:
vtkVector.h:194
vtkContextMouseEvent::LastScenePos
vtkVector2f LastScenePos
Definition:
vtkContextMouseEvent.h:58
vtkVector.h
vtkVector2f
Definition:
vtkVector.h:202
vtkContextMouseEvent::NO_BUTTON
Definition:
vtkContextMouseEvent.h:38
Generated on Thu Oct 24 2019 21:14:24 for VTK by
1.8.6