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 {
73 } DeviceState;
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_
DeviceState
Definition: OniEnums.h:67
static const int TIMEOUT_NONE
Definition: OniEnums.h:81
PixelFormat
Definition: OniEnums.h:50
SensorType
Definition: OniEnums.h:41
Status
Definition: OniEnums.h:28
ImageRegistrationMode
Definition: OniEnums.h:75
static const int TIMEOUT_FOREVER
Definition: OniEnums.h:82


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