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
64 } PixelFormat;
65 
66 typedef enum
67 {
72 } DeviceState;
73 
74 typedef enum
75 {
79 
80 static const int TIMEOUT_NONE = 0;
81 static const int TIMEOUT_FOREVER = -1;
82 
83 } // namespace openni
84 
85 #endif // _ONI_ENUMS_H_