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 _ONI_PROPERTIES_H_
22 #define _ONI_PROPERTIES_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  // Files
40 };
41 
42 // Stream properties
43 enum
44 {
45  STREAM_PROPERTY_CROPPING = 0, // OniCropping*
46  STREAM_PROPERTY_HORIZONTAL_FOV = 1, // float: radians
47  STREAM_PROPERTY_VERTICAL_FOV = 2, // float: radians
48  STREAM_PROPERTY_VIDEO_MODE = 3, // OniVideoMode*
49 
52 
54  STREAM_PROPERTY_MIRRORING = 7, // OniBool
55 
57 
58  // Camera
62  STREAM_PROPERTY_GAIN = 103, // int
63 
64 };
65 
66 // Device commands (for Invoke)
67 enum
68 {
69  DEVICE_COMMAND_SEEK = 1, // OniSeek
70 };
71 
72 } // namespace openni
73 #endif // _ONI_PROPERTIES_H_


libfreenect
Author(s): Hector Martin, Josh Blake, Kyle Machulis, OpenKinect community
autogenerated on Thu Jun 6 2019 19:25:38