MYNT EYE D SDK  1.7.1
http://www.myntai.com/mynteye/depth
utils.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_UTILS_H_
15 #define MYNTEYE_UTILS_H_
16 #pragma once
17 
18 #include "mynteyed/camera.h"
19 
20 MYNTEYE_BEGIN_NAMESPACE
21 
22 namespace util {
23 
24 MYNTEYE_API
25 bool select(const Camera& cam, DeviceInfo* info);
26 
27 MYNTEYE_API
28 void print_stream_infos(const Camera& cam, const std::int32_t& dev_index);
29 
30 MYNTEYE_API
31 bool is_right_color_supported(const StreamMode& mode);
32 
33 } // namespace util
34 
35 MYNTEYE_END_NAMESPACE
36 
37 #endif // MYNTEYE_UTILS_H_