00001 /*========================================================================= 00002 00003 Program: Medical Imaging & Interaction Toolkit 00004 Language: C++ 00005 Date: $Date$ 00006 Version: $Revision$ 00007 00008 Copyright (c) German Cancer Research Center, Division of Medical and 00009 Biological Informatics. All rights reserved. 00010 See MITKCopyright.txt or https://www.mitk.org/copyright.html for details. 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notices for more information. 00015 00016 =========================================================================*/ 00017 00018 #ifndef CONFERENCEVENTMAPPER_H_HEADER_INCLUDE 00019 #define CONFERENCEVENTMAPPER_H_HEADER_INCLUDE 00020 00021 #include <mitkEventMapper.h> 00022 #include "MitkExtExports.h" 00023 00024 namespace mitk { 00025 00026 class MitkExt_EXPORT ConferenceEventMapper : public EventMapper 00027 { 00028 public: 00029 ConferenceEventMapper(); 00030 00031 ~ConferenceEventMapper(); 00032 00033 // First part MITK Event ID and baserendere name 00034 // Second the normaly not needed integer information from the GUI Event (type, state, button, key) 00035 // Third the koordinated 3D and the relativ 2D 00036 static bool MapEvent(signed int id, const char* sender, int Etype, int Estate, int EButtonState, int key, float w1,float w2,float w3,float d0,float d1); 00037 00038 /* EasyEvent for MousMove Interaction. 00039 * used during conferences 00040 */ 00041 static bool MapEvent(const char* sender, float w1,float w2,float w3); 00042 }; 00043 } // namespace mitk 00044 00045 #endif 00046 00047