MYNT EYE D SDK  1.7.1
http://www.myntai.com/mynteye/depth
open_params.h
1 // Copyright 2018 Slightech Co., Ltd. All rights reserved.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 #ifndef MYNTEYE_DEVICE_OPEN_PARAMS_H_
15 #define MYNTEYE_DEVICE_OPEN_PARAMS_H_
16 #pragma once
17 
18 #include <string>
19 
20 #include "mynteyed/device/types.h"
21 #include "mynteyed/stubs/global.h"
22 
23 MYNTEYE_BEGIN_NAMESPACE
24 
28 struct MYNTEYE_API OpenParams {
32  std::int32_t dev_index;
33 
37  std::int32_t framerate;
38 
52  DeviceMode dev_mode;
53 
57  ColorMode color_mode;
58 
62  DepthMode depth_mode;
63 
67  StreamMode stream_mode;
68 
72  StreamFormat color_stream_format;
73 
77  StreamFormat depth_stream_format;
78 
82  bool state_ae;
83 
87  bool state_awb;
88 
92  std::uint8_t ir_intensity;
93 
99 
104 
106  OpenParams();
107  explicit OpenParams(const std::int32_t& dev_index);
108 
110  ~OpenParams();
111 };
112 
113 MYNTEYE_END_NAMESPACE
114 
115 #endif // MYNTEYE_DEVICE_OPEN_PARAMS_H_
bool state_ae
Auto-exposure, default true.
Definition: open_params.h:82
DepthMode depth_mode
Depth mode, default DEPTH_COLORFUL.
Definition: open_params.h:62
std::uint8_t ir_intensity
IR (Infrared), range [0,10], default 0.
Definition: open_params.h:92
StreamFormat depth_stream_format
Stream format of depth, default STREAM_YUYV.
Definition: open_params.h:77
bool state_awb
Auto-white balance, default true.
Definition: open_params.h:87
Device open parameters.
Definition: open_params.h:28
StreamMode stream_mode
Stream mode of color & depth, default STREAM_1280x720.
Definition: open_params.h:67
bool ir_depth_only
IR Depth Only mode, default false.
Definition: open_params.h:98
float colour_depth_value
Colour depth image, default 5000.
Definition: open_params.h:103
std::int32_t framerate
Framerate, range [0,60], [0,30](STREAM_2560x720), default 10.
Definition: open_params.h:37
DeviceMode dev_mode
Device mode, default DEVICE_ALL.
Definition: open_params.h:52
ColorMode color_mode
Color mode, default COLOR_RAW.
Definition: open_params.h:57
std::int32_t dev_index
Device index.
Definition: open_params.h:32
StreamFormat color_stream_format
Stream format of color, default STREAM_YUYV.
Definition: open_params.h:72