-
Notifications
You must be signed in to change notification settings - Fork 2
/
Main.h
43 lines (31 loc) · 811 Bytes
/
Main.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
// Main.h: interface for the CMain class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_MAIN_H__05A74DD2_C37A_4085_A563_7ED88F625CB7__INCLUDED_)
#define AFX_MAIN_H__05A74DD2_C37A_4085_A563_7ED88F625CB7__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include<opencv/cv.h>
#include<opencv/highgui.h>
#define MAX_DIS 80
#define MIN_DIS 0
class CMain
{
public:
virtual BOOL Initialize();
virtual void Deinitialize();
virtual void Update (DWORD milliseconds);
virtual void Draw();
public:
BOOL KeyPressed( int nCode );
CMain();
virtual ~CMain();
public :
float zPos;
float xAngle;
float yAngle;
IplImage* m_clrImg;
IplImage* m_disImg;
};
#endif // !defined(AFX_MAIN_H__05A74DD2_C37A_4085_A563_7ED88F625CB7__INCLUDED_)