Version: 6.3.1

src/SVTK/SVTK_Event.h

Go to the documentation of this file.
00001 // Copyright (C) 2007-2011  CEA/DEN, EDF R&D, OPEN CASCADE
00002 //
00003 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
00004 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
00005 //
00006 // This library is free software; you can redistribute it and/or
00007 // modify it under the terms of the GNU Lesser General Public
00008 // License as published by the Free Software Foundation; either
00009 // version 2.1 of the License.
00010 //
00011 // This library is distributed in the hope that it will be useful,
00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014 // Lesser General Public License for more details.
00015 //
00016 // You should have received a copy of the GNU Lesser General Public
00017 // License along with this library; if not, write to the Free Software
00018 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00019 //
00020 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00021 //
00022 
00023 //  SALOME VTKViewer : build VTK viewer into Salome desktop
00024 //  File   : 
00025 //  Author : Alexander SLADKOV
00026 //  Module : SALOME
00027 //  $Header: /home/server/cvs/GUI/GUI_SRC/src/SVTK/SVTK_Event.h,v 1.5.22.1.12.1 2011-06-01 13:53:40 vsr Exp $
00028 //
00029 #ifndef SVTK_Event_h
00030 #define SVTK_Event_h
00031 
00032 #include <vtkCommand.h>
00033 
00034 namespace SVTK
00035 {
00036   enum Event 
00037   {
00038     SpaceMouseMoveEvent = vtkCommand::UserEvent + 1000, 
00039     SpaceMouseButtonEvent,
00040     PanLeftEvent,
00041     PanRightEvent,
00042     PanUpEvent,
00043     PanDownEvent,
00044     ZoomInEvent,
00045     ZoomOutEvent,
00046     RotateLeftEvent,
00047     RotateRightEvent,
00048     RotateUpEvent,
00049     RotateDownEvent,
00050     PlusSpeedIncrementEvent,
00051     MinusSpeedIncrementEvent,
00052     SetSpeedIncrementEvent,
00053 
00054     SetSMDecreaseSpeedEvent,
00055     SetSMIncreaseSpeedEvent,
00056     SetSMDominantCombinedSwitchEvent,
00057 
00058     StartZoom,
00059     StartPan,
00060     StartRotate,
00061     StartGlobalPan,
00062     StartFitArea,
00063 
00064     SetRotateGravity,
00065     SetRotateSelected,
00066     StartPointSelection,
00067     
00068     BBCenterChanged,
00069     RotationPointChanged,
00070     ChangeRotationPoint,
00071 
00072     SetFocalPointGravity,
00073     SetFocalPointSelected,
00074     StartFocalPointSelection,
00075     FocalPointChanged,
00076         
00077     LastEvent
00078   };
00079 }
00080   
00081 #endif
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS