Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef ONIENUMS_H
00022 #define ONIENUMS_H
00023
00024 namespace openni
00025 {
00026
00028 typedef enum
00029 {
00030 STATUS_OK = 0,
00031 STATUS_ERROR = 1,
00032 STATUS_NOT_IMPLEMENTED = 2,
00033 STATUS_NOT_SUPPORTED = 3,
00034 STATUS_BAD_PARAMETER = 4,
00035 STATUS_OUT_OF_FLOW = 5,
00036 STATUS_NO_DEVICE = 6,
00037 STATUS_TIME_OUT = 102,
00038 } Status;
00039
00041 typedef enum
00042 {
00043 SENSOR_IR = 1,
00044 SENSOR_COLOR = 2,
00045 SENSOR_DEPTH = 3,
00046
00047 } SensorType;
00048
00050 typedef enum
00051 {
00052
00053 PIXEL_FORMAT_DEPTH_1_MM = 100,
00054 PIXEL_FORMAT_DEPTH_100_UM = 101,
00055 PIXEL_FORMAT_SHIFT_9_2 = 102,
00056 PIXEL_FORMAT_SHIFT_9_3 = 103,
00057
00058
00059 PIXEL_FORMAT_RGB888 = 200,
00060 PIXEL_FORMAT_YUV422 = 201,
00061 PIXEL_FORMAT_GRAY8 = 202,
00062 PIXEL_FORMAT_GRAY16 = 203,
00063 PIXEL_FORMAT_JPEG = 204,
00064 PIXEL_FORMAT_YUYV = 205,
00065 } PixelFormat;
00066
00067 typedef enum
00068 {
00069 DEVICE_STATE_OK = 0,
00070 DEVICE_STATE_ERROR = 1,
00071 DEVICE_STATE_NOT_READY = 2,
00072 DEVICE_STATE_EOF = 3
00073 } DeviceState;
00074
00075 typedef enum
00076 {
00077 IMAGE_REGISTRATION_OFF = 0,
00078 IMAGE_REGISTRATION_DEPTH_TO_COLOR = 1,
00079 } ImageRegistrationMode;
00080
00081 typedef enum
00082 {
00083 PARAMS_REGISTRATION_OFF = 0,
00084 PARAMS_REGISTRATION_DEPTH_TO_COLOR = 1,
00085 PARAMS_REGISTRATION_USE_DISTORTION = 2,
00086 } ParamsRegistrationMode;
00087
00088 static const int TIMEOUT_NONE = 0;
00089 static const int TIMEOUT_FOREVER = -1;
00090
00091 }
00092
00093 #endif // ONIENUMS_H