three.MF.V3.Descriptors.Settings.Camera

 1from MF.V3.Settings.Rectangle import Rectangle as MF_V3_Settings_Rectangle_Rectangle
 2from typing import List
 3
 4
 5class Camera:
 6
 7    """
 8     Camera settings descriptor.
 9    """
10    class AutoExposure:
11
12        """
13         Auto exposure.
14        """
15        def __init__(self, value: bool, default: bool):
16            self.value = value
17            self.default = default
18
19    class Exposure:
20
21        """
22         Exposure.
23        """
24        def __init__(self, value: int, default: int, min: int, max: int):
25            self.value = value
26            self.default = default
27            self.min = min
28            self.max = max
29
30    class AnalogGain:
31
32        """
33         Analog gain.
34        """
35        def __init__(self, value: float, default: float, min: float, max: float):
36            self.value = value
37            self.default = default
38            self.min = min
39            self.max = max
40
41    class DigitalGain:
42
43        """
44         Digital gain.
45        """
46        def __init__(self, value: int, default: int, min: int, max: int):
47            self.value = value
48            self.default = default
49            self.min = min
50            self.max = max
51
52    class Focus:
53
54        """
55         Focus settings descriptor.
56        """
57        class Value:
58
59            """
60             Focus value.
61            """
62            def __init__(self, min: int, max: int, value: List[int] = None, default: List[int] = None):
63                self.min = min
64                self.max = max
65                self.value = value
66                self.default = default
67
68        class Box:
69
70            """
71             Auto focus box.
72            """
73            def __init__(self, value: List[MF_V3_Settings_Rectangle_Rectangle] = None, default: List[MF_V3_Settings_Rectangle_Rectangle] = None):
74                self.value = value
75                self.default = default
76
77        def __init__(self, value: 'Value', box: 'Box'):
78            # Focus value.
79            self.value = value
80            # Auto focus box.
81            self.box = box
82
83    def __init__(self, autoExposure: 'AutoExposure', exposure: 'Exposure', analogGain: 'AnalogGain', digitalGain: 'DigitalGain', focus: 'Focus'):
84        # Auto exposure.
85        self.autoExposure = autoExposure
86        # Exposure.
87        self.exposure = exposure
88        # Analog gain.
89        self.analogGain = analogGain
90        # Digital gain.
91        self.digitalGain = digitalGain
92        # Focus settings descriptor.
93        self.focus = focus
class Camera:
 6class Camera:
 7
 8    """
 9     Camera settings descriptor.
10    """
11    class AutoExposure:
12
13        """
14         Auto exposure.
15        """
16        def __init__(self, value: bool, default: bool):
17            self.value = value
18            self.default = default
19
20    class Exposure:
21
22        """
23         Exposure.
24        """
25        def __init__(self, value: int, default: int, min: int, max: int):
26            self.value = value
27            self.default = default
28            self.min = min
29            self.max = max
30
31    class AnalogGain:
32
33        """
34         Analog gain.
35        """
36        def __init__(self, value: float, default: float, min: float, max: float):
37            self.value = value
38            self.default = default
39            self.min = min
40            self.max = max
41
42    class DigitalGain:
43
44        """
45         Digital gain.
46        """
47        def __init__(self, value: int, default: int, min: int, max: int):
48            self.value = value
49            self.default = default
50            self.min = min
51            self.max = max
52
53    class Focus:
54
55        """
56         Focus settings descriptor.
57        """
58        class Value:
59
60            """
61             Focus value.
62            """
63            def __init__(self, min: int, max: int, value: List[int] = None, default: List[int] = None):
64                self.min = min
65                self.max = max
66                self.value = value
67                self.default = default
68
69        class Box:
70
71            """
72             Auto focus box.
73            """
74            def __init__(self, value: List[MF_V3_Settings_Rectangle_Rectangle] = None, default: List[MF_V3_Settings_Rectangle_Rectangle] = None):
75                self.value = value
76                self.default = default
77
78        def __init__(self, value: 'Value', box: 'Box'):
79            # Focus value.
80            self.value = value
81            # Auto focus box.
82            self.box = box
83
84    def __init__(self, autoExposure: 'AutoExposure', exposure: 'Exposure', analogGain: 'AnalogGain', digitalGain: 'DigitalGain', focus: 'Focus'):
85        # Auto exposure.
86        self.autoExposure = autoExposure
87        # Exposure.
88        self.exposure = exposure
89        # Analog gain.
90        self.analogGain = analogGain
91        # Digital gain.
92        self.digitalGain = digitalGain
93        # Focus settings descriptor.
94        self.focus = focus

Camera settings descriptor.

Camera( autoExposure: Camera.AutoExposure, exposure: Camera.Exposure, analogGain: Camera.AnalogGain, digitalGain: Camera.DigitalGain, focus: Camera.Focus)
84    def __init__(self, autoExposure: 'AutoExposure', exposure: 'Exposure', analogGain: 'AnalogGain', digitalGain: 'DigitalGain', focus: 'Focus'):
85        # Auto exposure.
86        self.autoExposure = autoExposure
87        # Exposure.
88        self.exposure = exposure
89        # Analog gain.
90        self.analogGain = analogGain
91        # Digital gain.
92        self.digitalGain = digitalGain
93        # Focus settings descriptor.
94        self.focus = focus
autoExposure
exposure
analogGain
digitalGain
focus
class Camera.AutoExposure:
11    class AutoExposure:
12
13        """
14         Auto exposure.
15        """
16        def __init__(self, value: bool, default: bool):
17            self.value = value
18            self.default = default

Auto exposure.

Camera.AutoExposure(value: bool, default: bool)
16        def __init__(self, value: bool, default: bool):
17            self.value = value
18            self.default = default
value
default
class Camera.Exposure:
20    class Exposure:
21
22        """
23         Exposure.
24        """
25        def __init__(self, value: int, default: int, min: int, max: int):
26            self.value = value
27            self.default = default
28            self.min = min
29            self.max = max

Exposure.

Camera.Exposure(value: int, default: int, min: int, max: int)
25        def __init__(self, value: int, default: int, min: int, max: int):
26            self.value = value
27            self.default = default
28            self.min = min
29            self.max = max
value
default
min
max
class Camera.AnalogGain:
31    class AnalogGain:
32
33        """
34         Analog gain.
35        """
36        def __init__(self, value: float, default: float, min: float, max: float):
37            self.value = value
38            self.default = default
39            self.min = min
40            self.max = max

Analog gain.

Camera.AnalogGain(value: float, default: float, min: float, max: float)
36        def __init__(self, value: float, default: float, min: float, max: float):
37            self.value = value
38            self.default = default
39            self.min = min
40            self.max = max
value
default
min
max
class Camera.DigitalGain:
42    class DigitalGain:
43
44        """
45         Digital gain.
46        """
47        def __init__(self, value: int, default: int, min: int, max: int):
48            self.value = value
49            self.default = default
50            self.min = min
51            self.max = max

Digital gain.

Camera.DigitalGain(value: int, default: int, min: int, max: int)
47        def __init__(self, value: int, default: int, min: int, max: int):
48            self.value = value
49            self.default = default
50            self.min = min
51            self.max = max
value
default
min
max
class Camera.Focus:
53    class Focus:
54
55        """
56         Focus settings descriptor.
57        """
58        class Value:
59
60            """
61             Focus value.
62            """
63            def __init__(self, min: int, max: int, value: List[int] = None, default: List[int] = None):
64                self.min = min
65                self.max = max
66                self.value = value
67                self.default = default
68
69        class Box:
70
71            """
72             Auto focus box.
73            """
74            def __init__(self, value: List[MF_V3_Settings_Rectangle_Rectangle] = None, default: List[MF_V3_Settings_Rectangle_Rectangle] = None):
75                self.value = value
76                self.default = default
77
78        def __init__(self, value: 'Value', box: 'Box'):
79            # Focus value.
80            self.value = value
81            # Auto focus box.
82            self.box = box

Focus settings descriptor.

Camera.Focus( value: Camera.Focus.Value, box: Camera.Focus.Box)
78        def __init__(self, value: 'Value', box: 'Box'):
79            # Focus value.
80            self.value = value
81            # Auto focus box.
82            self.box = box
value
box
class Camera.Focus.Value:
58        class Value:
59
60            """
61             Focus value.
62            """
63            def __init__(self, min: int, max: int, value: List[int] = None, default: List[int] = None):
64                self.min = min
65                self.max = max
66                self.value = value
67                self.default = default

Focus value.

Camera.Focus.Value( min: int, max: int, value: List[int] = None, default: List[int] = None)
63            def __init__(self, min: int, max: int, value: List[int] = None, default: List[int] = None):
64                self.min = min
65                self.max = max
66                self.value = value
67                self.default = default
min
max
value
default
class Camera.Focus.Box:
69        class Box:
70
71            """
72             Auto focus box.
73            """
74            def __init__(self, value: List[MF_V3_Settings_Rectangle_Rectangle] = None, default: List[MF_V3_Settings_Rectangle_Rectangle] = None):
75                self.value = value
76                self.default = default

Auto focus box.

Camera.Focus.Box( value: List[MF.V3.Settings.Rectangle.Rectangle] = None, default: List[MF.V3.Settings.Rectangle.Rectangle] = None)
74            def __init__(self, value: List[MF_V3_Settings_Rectangle_Rectangle] = None, default: List[MF_V3_Settings_Rectangle_Rectangle] = None):
75                self.value = value
76                self.default = default
value
default