Support #1314 » config.py
1 |
#!/usr/bin/env python
|
---|---|
2 |
# -*- coding: utf-8 -*-
|
3 |
# ˅
|
4 |
|
5 |
# ˄
|
6 |
|
7 |
|
8 |
class Config(object): |
9 |
# ˅
|
10 |
|
11 |
# ˄
|
12 |
|
13 |
def __init__(self, d, w, h, p, gamma): |
14 |
|
15 |
self.__projection_distance = d |
16 |
|
17 |
self.__img_width = w |
18 |
|
19 |
self.__img_height = h |
20 |
|
21 |
self.__img_path = p |
22 |
|
23 |
self.__gamma = gamma |
24 |
|
25 |
# ˅
|
26 |
pass
|
27 |
# ˄
|
28 |
|
29 |
def getProjectionDistance(self): |
30 |
# ˅
|
31 |
pass
|
32 |
# ˄
|
33 |
|
34 |
def getImgWidth(self): |
35 |
# ˅
|
36 |
pass
|
37 |
# ˄
|
38 |
|
39 |
def getImgHeight(self): |
40 |
# ˅
|
41 |
pass
|
42 |
# ˄
|
43 |
|
44 |
def getImagePath(self): |
45 |
# ˅
|
46 |
pass
|
47 |
# ˄
|
48 |
|
49 |
def getGamma(self): |
50 |
# ˅
|
51 |
pass
|
52 |
# ˄
|
53 |
|
54 |
def readConfigFile(self): |
55 |
# ˅
|
56 |
pass
|
57 |
# ˄
|
58 |
|
59 |
# ˅
|
60 |
|
61 |
# ˄
|
62 |
|
63 |
|
64 |
# ˅
|
65 |
|
66 |
# ˄
|