BALL  1.5.0
motionTrackingEvent.h
Go to the documentation of this file.
1 #ifndef MOTIONTRACKINGEVENT_H
2 #define MOTIONTRACKINGEVENT_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  MotionTrackingEvent(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 //MOTIONTRACKINGEVENT_H
30 
BALL::VIEW::InputDeviceDriver
Definition: inputDeviceDriver.h:18
deviceEvent.h
vector3.h
BALL::TVector3< float >
BALL::VIEW::DeviceEvent
Definition: deviceEvent.h:14
BALL
Definition: constants.h:12
quaternion.h
BALL::VIEW::MotionTrackingEvent::getTransform
const Quaternion & getTransform()
Definition: motionTrackingEvent.h:21
BALL::TQuaternion< float >
BALL::VIEW::MotionTrackingEvent::getOrigin
const Vector3 & getOrigin()
Definition: motionTrackingEvent.h:20
BALL::VIEW::MotionTrackingEvent::MotionTrackingEvent
MotionTrackingEvent(InputDeviceDriver *dev, double x, double y, double z, double q1, double q2, double q3, double q4)
BALL::VIEW::MotionTrackingEvent
Definition: motionTrackingEvent.h:14