OniProperties.h
Go to the documentation of this file.
1 /*****************************************************************************
2 * *
3 * OpenNI 2.x Alpha *
4 * Copyright (C) 2012 PrimeSense Ltd. *
5 * *
6 * This file is part of OpenNI. *
7 * *
8 * Licensed under the Apache License, Version 2.0 (the "License"); *
9 * you may not use this file except in compliance with the License. *
10 * You may obtain a copy of the License at *
11 * *
12 * http://www.apache.org/licenses/LICENSE-2.0 *
13 * *
14 * Unless required by applicable law or agreed to in writing, software *
15 * distributed under the License is distributed on an "AS IS" BASIS, *
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
17 * See the License for the specific language governing permissions and *
18 * limitations under the License. *
19 * *
20 *****************************************************************************/
21 #ifndef ONIPROPERTIES_H
22 #define ONIPROPERTIES_H
23 
24 namespace openni
25 {
26 
27 // Device properties
28 enum
29 {
31  DEVICE_PROPERTY_DRIVER_VERSION = 1, // OniVersion
35  DEVICE_PROPERTY_IMAGE_REGISTRATION = 5, // OniImageRegistrationMode
36 
37  //orbbec
46  // Files
49 };
50 
51 // Stream properties
52 enum
53 {
54  STREAM_PROPERTY_CROPPING = 0, // OniCropping*
55  STREAM_PROPERTY_HORIZONTAL_FOV = 1, // float: radians
56  STREAM_PROPERTY_VERTICAL_FOV = 2, // float: radians
57  STREAM_PROPERTY_VIDEO_MODE = 3, // OniVideoMode*
58 
61 
63  STREAM_PROPERTY_MIRRORING = 7, // OniBool
64 
66 
67  // Camera
71  STREAM_PROPERTY_GAIN = 103, // int
72 
74 };
75 
76 // Device commands (for Invoke)
77 enum
78 {
79  DEVICE_COMMAND_SEEK = 1, // OniSeek
80 };
81 
82 } // namespace openni
83 #endif // ONIPROPERTIES_H


astra_camera
Author(s): Tim Liu
autogenerated on Wed Dec 16 2020 03:54:34