BALL
1.4.79
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
vector3.h
BALL::VIEW::MotionTrackingEvent
Definition:
motionTrackingEvent.h:14
BALL::TQuaternion< float >
BALL::VIEW::MotionTrackingEvent::getOrigin
const Vector3 & getOrigin()
Definition:
motionTrackingEvent.h:20
BALL::TVector3< float >
BALL::VIEW::MotionTrackingEvent::getTransform
const Quaternion & getTransform()
Definition:
motionTrackingEvent.h:21
BALL::VIEW::InputDeviceDriver
Definition:
inputDeviceDriver.h:18
quaternion.h
BALL::VIEW::DeviceEvent
Definition:
deviceEvent.h:14
deviceEvent.h
BALL::VIEW::MotionTrackingEvent::MotionTrackingEvent
MotionTrackingEvent(InputDeviceDriver *dev, double x, double y, double z, double q1, double q2, double q3, double q4)
Generated by
1.8.7