-
Notifications
You must be signed in to change notification settings - Fork 28
/
System.h
53 lines (43 loc) · 943 Bytes
/
System.h
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
// -*- c++ -*-
// Copyright 2008 Isis Innovation Limited
//
// System.h
//
// Defines the System class
//
// This stores the main functional classes of the system, like the
// mapmaker, map, tracker etc, and spawns the working threads.
//
#ifndef __SYSTEM_H
#define __SYSTEM_H
#include "VideoSource.h"
#include "GLWindow2.h"
#include <cvd/image.h>
#include <cvd/rgb.h>
#include <cvd/byte.h>
class ATANCamera;
class Map;
class MapMaker;
class Tracker;
class ARDriver;
class MapViewer;
class System
{
public:
System();
void Run();
private:
VideoSource mVideoSource;
GLWindow2 mGLWindow;
CVD::Image<CVD::Rgb<CVD::byte> > mimFrameRGB;
CVD::Image<CVD::byte> mimFrameBW;
Map *mpMap;
MapMaker *mpMapMaker;
Tracker *mpTracker;
ATANCamera *mpCamera;
ARDriver *mpARDriver;
MapViewer *mpMapViewer;
bool mbDone;
static void GUICommandCallBack(void* ptr, std::string sCommand, std::string sParams);
};
#endif