KinectProperties.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 KINECTPROPERTIES_H
22 #define KINECTPROPERTIES_H
23 
24 #include <OniCTypes.h>
25 
26 /*
27  * private properties of Microsoft Kinect devices.
28  *
29  * @remarks
30  * properties structure is 0x045eXXYY (045e = Microsoft's USB vendor ID)
31  * where XX is range and YY is code.
32  * range values:
33  * 00 - common stream properties
34  * 10 - depth stream properties
35  * 20 - color stream properties
36  * E0 - device commands
37  * F0 - device properties
38  */
39 enum
40 {
41  KINECT_PROPERTY_BASE = 0x045e0000,
42 
43  /*******************************************************************/
44  /* Common stream properties (00-) */
45  /*******************************************************************/
46 
47  /*******************************************************************/
48  /* Depth stream properties (10-) */
49  /*******************************************************************/
50 
56 
57  /*******************************************************************/
58  /* Color stream properties (20-) */
59  /*******************************************************************/
60 
61  /*******************************************************************/
62  /* Device commands (E0-) */
63  /*******************************************************************/
64 
65  /*******************************************************************/
66  /* Device properties (F0-) */
67  /*******************************************************************/
68 
69  /* 3D sensing properties (F0-) */
70 
76 
77  /* Non- 3D sensing bonus properties (F8) */
78 
83 
88 
94 
95 };
96 
97 typedef struct
98 {
99  float x;
100  float y;
101  float z;
103 
104 #endif // KINECTPROPERTIES_H


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