Project

General

Profile

Support #1314 » config.py

The newest code (Dec 19th, 2024) - Kentaro HARATAKE, 12/19/2024 02:46 PM

 
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, pnd, w, h, p, gamma, prd):
14

    
15
        self.__projection_distance = pnd
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
        self.__projector_diatance = prd
26

    
27
        # ˅
28
        pass
29
        # ˄
30

    
31
    def getProjectionDistance(self):
32
        # ˅
33
        pass
34
        # ˄
35

    
36
    def getImgWidth(self):
37
        # ˅
38
        pass
39
        # ˄
40

    
41
    def getImgHeight(self):
42
        # ˅
43
        pass
44
        # ˄
45

    
46
    def getImgPath(self):
47
        # ˅
48
        pass
49
        # ˄
50

    
51
    def getGamma(self):
52
        # ˅
53
        pass
54
        # ˄
55

    
56
    def readConfigFile(self):
57
        # ˅
58
        pass
59
        # ˄
60

    
61
    # ˅
62
    
63
    # ˄
64

    
65

    
66
# ˅
67

    
68
# ˄
(5-5/9)