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 ONIENUMS_H
22 #define ONIENUMS_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 typedef enum
82 {
87 
88 static const int TIMEOUT_NONE = 0;
89 static const int TIMEOUT_FOREVER = -1;
90 
91 } // namespace openni
92 
93 #endif // ONIENUMS_H
DeviceState
Definition: OniEnums.h:67
static const int TIMEOUT_NONE
Definition: OniEnums.h:88
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:89
ParamsRegistrationMode
Definition: OniEnums.h:81


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