OpenNI 2.0
OniEnums.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_ENUMS_H_
22 #define _ONI_ENUMS_H_
23 
24 namespace openni
25 {
26 
28 typedef enum
29 {
30  STATUS_OK = 0,
38 } Status;
39 
41 typedef enum
42 {
43  SENSOR_IR = 1,
46 
47 } SensorType;
48 
50 typedef enum
51 {
52  // Depth
57 
58  // Color
65 } PixelFormat;
66 
67 typedef enum
68 {
74 
75 typedef enum
76 {
80 
81 static const int TIMEOUT_NONE = 0;
82 static const int TIMEOUT_FOREVER = -1;
83 
84 } // namespace openni
85 
86 #endif // _ONI_ENUMS_H_
Definition: OpenNI.h:35
SensorType
Definition: OniEnums.h:42
@ SENSOR_COLOR
Definition: OniEnums.h:44
@ SENSOR_DEPTH
Definition: OniEnums.h:45
@ SENSOR_IR
Definition: OniEnums.h:43
static const int TIMEOUT_FOREVER
Definition: OniEnums.h:82
ImageRegistrationMode
Definition: OniEnums.h:76
@ IMAGE_REGISTRATION_DEPTH_TO_COLOR
Definition: OniEnums.h:78
@ IMAGE_REGISTRATION_OFF
Definition: OniEnums.h:77
PixelFormat
Definition: OniEnums.h:51
@ PIXEL_FORMAT_JPEG
Definition: OniEnums.h:63
@ PIXEL_FORMAT_RGB888
Definition: OniEnums.h:59
@ PIXEL_FORMAT_SHIFT_9_3
Definition: OniEnums.h:56
@ PIXEL_FORMAT_SHIFT_9_2
Definition: OniEnums.h:55
@ PIXEL_FORMAT_DEPTH_1_MM
Definition: OniEnums.h:53
@ PIXEL_FORMAT_DEPTH_100_UM
Definition: OniEnums.h:54
@ PIXEL_FORMAT_GRAY8
Definition: OniEnums.h:61
@ PIXEL_FORMAT_GRAY16
Definition: OniEnums.h:62
@ PIXEL_FORMAT_YUV422
Definition: OniEnums.h:60
@ PIXEL_FORMAT_YUYV
Definition: OniEnums.h:64
static const int TIMEOUT_NONE
Definition: OniEnums.h:81
Status
Definition: OniEnums.h:29
@ STATUS_OUT_OF_FLOW
Definition: OniEnums.h:35
@ STATUS_ERROR
Definition: OniEnums.h:31
@ STATUS_NO_DEVICE
Definition: OniEnums.h:36
@ STATUS_OK
Definition: OniEnums.h:30
@ STATUS_BAD_PARAMETER
Definition: OniEnums.h:34
@ STATUS_NOT_IMPLEMENTED
Definition: OniEnums.h:32
@ STATUS_TIME_OUT
Definition: OniEnums.h:37
@ STATUS_NOT_SUPPORTED
Definition: OniEnums.h:33
DeviceState
Definition: OniEnums.h:68
@ DEVICE_STATE_ERROR
Definition: OniEnums.h:70
@ DEVICE_STATE_OK
Definition: OniEnums.h:69
@ DEVICE_STATE_EOF
Definition: OniEnums.h:72
@ DEVICE_STATE_NOT_READY
Definition: OniEnums.h:71