Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef MITKSPACENAVIGATORADDON_H_HEADER_INCLUDED
00019 #define MITKSPACENAVIGATORADDON_H_HEADER_INCLUDED
00020
00021 #include <mitkVector.h>
00022 #include <mitkCommon.h>
00023
00024 #include <mitkEventMapperAddOn.h>
00025 #include <mitkInputDevicesExports.h>
00026
00027 namespace mitk {
00028
00035 class mitkInputDevices_EXPORT SpaceNavigatorAddOn : public EventMapperAddOn
00036 {
00037
00038 public:
00039
00040
00041 static SpaceNavigatorAddOn* GetInstance();
00042
00046 void DeviceChange (long device, long keys, long programmableKeys);
00047
00053 void KeyDown (int keyCode);
00054
00058 void KeyUp (int keyCode);
00059
00070 void SensorInput(mitk::Vector3D translation, mitk::Vector3D rotation, mitk::ScalarType angle);
00071
00075 void ForwardEvent(const mitk::StateEvent* e);
00076
00077 protected:
00078
00079 private:
00080
00081 };
00082 }
00083
00084 #endif // MITKSPACENAVIGATORADDON_H_HEADER_INCLUDED