Go to the documentation of this file.00001 #ifndef MITK_WIIMOTEIREVENT_H
00002 #define MITK_WIIMOTEIREVENT_H
00003
00004 #include "mitkEvent.h"
00005 #include "mitkVector.h"
00006 #include "mitkInteractionConst.h"
00007
00008 #include "mitkInputDevicesExports.h"
00009
00010 namespace mitk
00011 {
00016 class mitkInputDevices_EXPORT WiiMoteIREvent : public Event, itk::EventObject
00017 {
00018
00019 public:
00020
00021 typedef WiiMoteIREvent Self;
00022 typedef itk::EventObject Superclass;
00023
00033 WiiMoteIREvent(mitk::Vector2D inputData, double recordTime);
00034
00035 ~WiiMoteIREvent();
00036
00041 mitk::Vector2D GetMovementVector() const;
00042 double GetRecordTime();
00043
00044
00045 const char * GetEventName() const;
00046 bool CheckEvent(const ::itk::EventObject* e) const;
00047 ::itk::EventObject* MakeObject() const;
00048
00049 private:
00050
00051 mitk::Vector2D m_MovementVector;
00052 double m_RecordTime;
00053
00054 };
00055 }
00056 #endif // MITK_WIIMOTEIREVENT_H