Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
include
openni2
OniCEnums.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 ONICENUMS_H
22
#define ONICENUMS_H
23
25
typedef
enum
26
{
27
ONI_STATUS_OK
= 0,
28
ONI_STATUS_ERROR
= 1,
29
ONI_STATUS_NOT_IMPLEMENTED
= 2,
30
ONI_STATUS_NOT_SUPPORTED
= 3,
31
ONI_STATUS_BAD_PARAMETER
= 4,
32
ONI_STATUS_OUT_OF_FLOW
= 5,
33
ONI_STATUS_NO_DEVICE
= 6,
34
ONI_STATUS_TIME_OUT
= 102,
35
}
OniStatus
;
36
38
typedef
enum
39
{
40
ONI_SENSOR_IR
= 1,
41
ONI_SENSOR_COLOR
= 2,
42
ONI_SENSOR_DEPTH
= 3,
43
44
}
OniSensorType
;
45
47
typedef
enum
48
{
49
// Depth
50
ONI_PIXEL_FORMAT_DEPTH_1_MM
= 100,
51
ONI_PIXEL_FORMAT_DEPTH_100_UM
= 101,
52
ONI_PIXEL_FORMAT_SHIFT_9_2
= 102,
53
ONI_PIXEL_FORMAT_SHIFT_9_3
= 103,
54
55
// Color
56
ONI_PIXEL_FORMAT_RGB888
= 200,
57
ONI_PIXEL_FORMAT_YUV422
= 201,
58
ONI_PIXEL_FORMAT_GRAY8
= 202,
59
ONI_PIXEL_FORMAT_GRAY16
= 203,
60
ONI_PIXEL_FORMAT_JPEG
= 204,
61
ONI_PIXEL_FORMAT_YUYV
= 205,
62
}
OniPixelFormat
;
63
64
typedef
enum
65
{
66
ONI_DEVICE_STATE_OK
= 0,
67
ONI_DEVICE_STATE_ERROR
= 1,
68
ONI_DEVICE_STATE_NOT_READY
= 2,
69
ONI_DEVICE_STATE_EOF
= 3
70
}
OniDeviceState
;
71
72
typedef
enum
73
{
74
ONI_IMAGE_REGISTRATION_OFF
= 0,
75
ONI_IMAGE_REGISTRATION_DEPTH_TO_COLOR
= 1,
76
}
OniImageRegistrationMode
;
77
78
enum
79
{
80
ONI_TIMEOUT_NONE
= 0,
81
ONI_TIMEOUT_FOREVER
= -1,
82
};
83
84
#endif // ONICENUMS_H
OniImageRegistrationMode
OniImageRegistrationMode
Definition:
OniCEnums.h:72
ONI_PIXEL_FORMAT_DEPTH_1_MM
Definition:
OniCEnums.h:50
ONI_PIXEL_FORMAT_GRAY8
Definition:
OniCEnums.h:58
ONI_STATUS_TIME_OUT
Definition:
OniCEnums.h:34
ONI_TIMEOUT_FOREVER
Definition:
OniCEnums.h:81
ONI_PIXEL_FORMAT_DEPTH_100_UM
Definition:
OniCEnums.h:51
ONI_PIXEL_FORMAT_YUYV
Definition:
OniCEnums.h:61
ONI_STATUS_NOT_IMPLEMENTED
Definition:
OniCEnums.h:29
ONI_SENSOR_COLOR
Definition:
OniCEnums.h:41
OniDeviceState
OniDeviceState
Definition:
OniCEnums.h:64
ONI_PIXEL_FORMAT_RGB888
Definition:
OniCEnums.h:56
ONI_PIXEL_FORMAT_SHIFT_9_2
Definition:
OniCEnums.h:52
ONI_PIXEL_FORMAT_GRAY16
Definition:
OniCEnums.h:59
ONI_SENSOR_IR
Definition:
OniCEnums.h:40
ONI_DEVICE_STATE_EOF
Definition:
OniCEnums.h:69
ONI_STATUS_NOT_SUPPORTED
Definition:
OniCEnums.h:30
ONI_STATUS_ERROR
Definition:
OniCEnums.h:28
OniSensorType
OniSensorType
Definition:
OniCEnums.h:38
ONI_STATUS_OK
Definition:
OniCEnums.h:27
ONI_DEVICE_STATE_ERROR
Definition:
OniCEnums.h:67
ONI_DEVICE_STATE_NOT_READY
Definition:
OniCEnums.h:68
ONI_IMAGE_REGISTRATION_DEPTH_TO_COLOR
Definition:
OniCEnums.h:75
ONI_STATUS_OUT_OF_FLOW
Definition:
OniCEnums.h:32
ONI_PIXEL_FORMAT_SHIFT_9_3
Definition:
OniCEnums.h:53
ONI_SENSOR_DEPTH
Definition:
OniCEnums.h:42
ONI_DEVICE_STATE_OK
Definition:
OniCEnums.h:66
ONI_TIMEOUT_NONE
Definition:
OniCEnums.h:80
OniPixelFormat
OniPixelFormat
Definition:
OniCEnums.h:47
OniStatus
OniStatus
Definition:
OniCEnums.h:25
ONI_STATUS_NO_DEVICE
Definition:
OniCEnums.h:33
ONI_PIXEL_FORMAT_YUV422
Definition:
OniCEnums.h:57
ONI_PIXEL_FORMAT_JPEG
Definition:
OniCEnums.h:60
ONI_STATUS_BAD_PARAMETER
Definition:
OniCEnums.h:31
ONI_IMAGE_REGISTRATION_OFF
Definition:
OniCEnums.h:74
astra_camera
Author(s): Tim Liu
autogenerated on Wed Dec 16 2020 03:54:34