BALL  1.4.79
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
headTrackingEvent.h
Go to the documentation of this file.
1 #ifndef HEADTRACKINGEVENT_H
2 #define HEADTRACKINGEVENT_H
3 
4 #include <QtCore/QEvent>
5 
7 #include <BALL/MATHS/vector3.h>
9 
10 namespace BALL
11 {
12  namespace VIEW
13  {
15  {
16  public:
17  HeadTrackingEvent(InputDeviceDriver* dev, double x, double y, double z,
18  double q1, double q2, double q3, double q4);
19 
20  const Vector3& getOrigin() { return origin_; }
21  const Quaternion& getTransform() { return transform_; }
22  private:
23  Vector3 origin_;
24  Quaternion transform_;
25  };
26  }
27 }
28 
29 #endif //HEADTRACKINGEVENT_H
30 
HeadTrackingEvent(InputDeviceDriver *dev, double x, double y, double z, double q1, double q2, double q3, double q4)
const Quaternion & getTransform()