Version: 9.15.0
SVTK_Event.h
Go to the documentation of this file.
1 // Copyright (C) 2007-2025 CEA, EDF, OPEN CASCADE
2 //
3 // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 //
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License, or (at your option) any later version.
10 //
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // Lesser General Public License for more details.
15 //
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 //
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 //
22 
23 // SALOME VTKViewer : build VTK viewer into Salome desktop
24 // File :
25 // Author : Alexander SLADKOV
26 
27 #ifndef SVTK_Event_h
28 #define SVTK_Event_h
29 
30 #include <vtkCommand.h>
31 
32 namespace SVTK
33 {
34  enum Event
35  {
36  SpaceMouseMoveEvent = vtkCommand::UserEvent + 1000,
51 
55 
61 
65 
69 
74 
78 
79  OperationFinished, // rnv: invoked when SpinXY, RotateXY, DollyXY or PanXY operation is finished.
80 
82  LastEvent
83  };
84 }
85 
86 #endif
Definition: SALOME_Actor.cxx:148
Event
Definition: SVTK_Event.h:35
@ SpaceMouseMoveEvent
Definition: SVTK_Event.h:36
@ RotationPointChanged
Definition: SVTK_Event.h:67
@ PlusSpeedIncrementEvent
Definition: SVTK_Event.h:48
@ RotateLeftEvent
Definition: SVTK_Event.h:44
@ BBCenterChanged
Definition: SVTK_Event.h:66
@ StartPan
Definition: SVTK_Event.h:57
@ SetSMIncreaseSpeedEvent
Definition: SVTK_Event.h:53
@ InteractiveSelectionFinished
Definition: SVTK_Event.h:77
@ FocalPointChanged
Definition: SVTK_Event.h:73
@ PanDownEvent
Definition: SVTK_Event.h:41
@ RotateUpEvent
Definition: SVTK_Event.h:46
@ StopCurrentOperation
Definition: SVTK_Event.h:81
@ ZoomInEvent
Definition: SVTK_Event.h:42
@ SetSMDominantCombinedSwitchEvent
Definition: SVTK_Event.h:54
@ StartRotate
Definition: SVTK_Event.h:58
@ SpaceMouseButtonEvent
Definition: SVTK_Event.h:37
@ RotateRightEvent
Definition: SVTK_Event.h:45
@ SetSMDecreaseSpeedEvent
Definition: SVTK_Event.h:52
@ StartGlobalPan
Definition: SVTK_Event.h:59
@ PanRightEvent
Definition: SVTK_Event.h:39
@ StartFitArea
Definition: SVTK_Event.h:60
@ SetSpeedIncrementEvent
Definition: SVTK_Event.h:50
@ MinusSpeedIncrementEvent
Definition: SVTK_Event.h:49
@ ZoomOutEvent
Definition: SVTK_Event.h:43
@ StartZoom
Definition: SVTK_Event.h:56
@ SetFocalPointSelected
Definition: SVTK_Event.h:71
@ SetRotateGravity
Definition: SVTK_Event.h:62
@ PanUpEvent
Definition: SVTK_Event.h:40
@ LastEvent
Definition: SVTK_Event.h:82
@ ChangeRotationPoint
Definition: SVTK_Event.h:68
@ StartInteractiveSelection
Definition: SVTK_Event.h:75
@ StartFocalPointSelection
Definition: SVTK_Event.h:72
@ SetRotateSelected
Definition: SVTK_Event.h:63
@ OperationFinished
Definition: SVTK_Event.h:79
@ InteractiveSelectionChanged
Definition: SVTK_Event.h:76
@ StartPointSelection
Definition: SVTK_Event.h:64
@ SetFocalPointGravity
Definition: SVTK_Event.h:70
@ PanLeftEvent
Definition: SVTK_Event.h:38
@ RotateDownEvent
Definition: SVTK_Event.h:47