-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTrackingManager.h
More file actions
54 lines (40 loc) · 874 Bytes
/
TrackingManager.h
File metadata and controls
54 lines (40 loc) · 874 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
//
// TrackingManager.h
// VirtualMarbleGame
//
// Created by Maximilian Weber
//
#ifndef VirtualMarbleGame_Tracking_h
#define VirtualMarbleGame_Tracking_h
// Apple iSight: 54.3
#define CAM_ANGLE 62
#ifdef __linux
#include <GL/gl.h>
#include <GL/freeglut.h>
#else
#include <opengl/OpenGL.h>
#include <GLUT/glut.h>
#endif
#include <iostream>
#include <opencv2/opencv.hpp>
#include "VideoManager.h"
#include "Pose.h"
#include "PoseEstimation.h"
using namespace std;
class VideoManager;
class Pose;
class TrackingManager {
public:
TrackingManager(bool debug, VideoManager* videoManager, Pose* pose, Pose* gravity);
~TrackingManager();
void process();
void init();
void switchCalibrate();
private:
VideoManager* m_videoManager;
Pose* m_pose;
Pose* m_gravity;
bool m_debug;
bool m_calibrate;
};
#endif