BALL
1.4.2
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
BALL
VIEW
INPUT
motionTrackingEvent.h
Go to the documentation of this file.
1
#ifndef MOTIONTRACKINGEVENT_H
2
#define MOTIONTRACKINGEVENT_H
3
4
#include <QtCore/QEvent>
5
6
#include <
BALL/VIEW/INPUT/deviceEvent.h
>
7
#include <
BALL/MATHS/vector3.h
>
8
#include <
BALL/MATHS/quaternion.h
>
9
10
namespace
BALL
11
{
12
namespace
VIEW
13
{
14
class
MotionTrackingEvent
:
public
DeviceEvent
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
Generated by
1.8.3.1