Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
include
openni2
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
55
KINECT_DEPTH_PROPERTY_CLOSE_RANGE
=
KINECT_PROPERTY_BASE
+ 0x1001,
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
75
KINECT_DEVICE_PROPERTY_EMITTER_STATE
=
KINECT_PROPERTY_BASE
+ 0xF001,
76
77
/* Non- 3D sensing bonus properties (F8) */
78
82
KINECT_DEVICE_PROPERTY_CAMERA_ELEVATION
=
KINECT_PROPERTY_BASE
+ 0xF801,
83
87
KINECT_DEVICE_PROPERTY_ACCELEROMETER
=
KINECT_PROPERTY_BASE
+ 0xF802,
88
93
KINECT_DEVICE_PROPERTY_AUDIO_ARRAY_ID
=
KINECT_PROPERTY_BASE
+ 0xF803,
94
95
};
96
97
typedef
struct
98
{
99
float
x
;
100
float
y
;
101
float
z
;
102
}
KinectVector3f
;
103
104
#endif // KINECTPROPERTIES_H
OniCTypes.h
KINECT_DEVICE_PROPERTY_CAMERA_ELEVATION
Definition:
KinectProperties.h:82
KINECT_DEVICE_PROPERTY_EMITTER_STATE
Definition:
KinectProperties.h:75
KINECT_DEPTH_PROPERTY_CLOSE_RANGE
Definition:
KinectProperties.h:55
KinectVector3f
Definition:
KinectProperties.h:97
KINECT_DEVICE_PROPERTY_AUDIO_ARRAY_ID
Definition:
KinectProperties.h:93
KINECT_DEVICE_PROPERTY_ACCELEROMETER
Definition:
KinectProperties.h:87
KinectVector3f::y
float y
Definition:
KinectProperties.h:100
KinectVector3f::x
float x
Definition:
KinectProperties.h:99
KinectVector3f::z
float z
Definition:
KinectProperties.h:101
KINECT_PROPERTY_BASE
Definition:
KinectProperties.h:41
astra_camera
Author(s): Tim Liu
autogenerated on Wed Dec 16 2020 03:54:34