Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
include
openni2
OniCProperties.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 ONICPROPERTIES_H
22
#define ONICPROPERTIES_H
23
24
// Device properties
25
enum
26
{
27
ONI_DEVICE_PROPERTY_FIRMWARE_VERSION
= 0,
// By implementation
28
ONI_DEVICE_PROPERTY_DRIVER_VERSION
= 1,
// OniVersion
29
ONI_DEVICE_PROPERTY_HARDWARE_VERSION
= 2,
// int
30
ONI_DEVICE_PROPERTY_SERIAL_NUMBER
= 3,
// string
31
ONI_DEVICE_PROPERTY_ERROR_STATE
= 4,
// ??
32
ONI_DEVICE_PROPERTY_IMAGE_REGISTRATION
= 5,
// OniImageRegistrationMode
33
34
35
//orbbec
36
OBEXTENSION_ID_IR_GAIN
= 11,
37
OBEXTENSION_ID_IR_EXP
,
38
OBEXTENSION_ID_LDP_EN
,
39
OBEXTENSION_ID_CAM_PARAMS
,
40
OBEXTENSION_ID_LASER_EN
,
41
OBEXTENSION_ID_SERIALNUMBER
,
42
OBEXTENSION_ID_DEVICETYPE
,
43
OBEXTENSION_ID_UPDATE_FIRMWARE
,
44
45
46
// Files
47
ONI_DEVICE_PROPERTY_PLAYBACK_SPEED
= 100,
// float
48
ONI_DEVICE_PROPERTY_PLAYBACK_REPEAT_ENABLED
= 101,
// OniBool
49
};
50
51
// Stream properties
52
enum
53
{
54
ONI_STREAM_PROPERTY_CROPPING
= 0,
// OniCropping*
55
ONI_STREAM_PROPERTY_HORIZONTAL_FOV
= 1,
// float: radians
56
ONI_STREAM_PROPERTY_VERTICAL_FOV
= 2,
// float: radians
57
ONI_STREAM_PROPERTY_VIDEO_MODE
= 3,
// OniVideoMode*
58
59
ONI_STREAM_PROPERTY_MAX_VALUE
= 4,
// int
60
ONI_STREAM_PROPERTY_MIN_VALUE
= 5,
// int
61
62
ONI_STREAM_PROPERTY_STRIDE
= 6,
// int
63
ONI_STREAM_PROPERTY_MIRRORING
= 7,
// OniBool
64
65
ONI_STREAM_PROPERTY_NUMBER_OF_FRAMES
= 8,
// int
66
67
// Camera
68
ONI_STREAM_PROPERTY_AUTO_WHITE_BALANCE
= 100,
// OniBool
69
ONI_STREAM_PROPERTY_AUTO_EXPOSURE
= 101,
// OniBool
70
ONI_STREAM_PROPERTY_EXPOSURE
= 102,
// int
71
ONI_STREAM_PROPERTY_GAIN
= 103,
// int
72
};
73
74
// Device commands (for Invoke)
75
enum
76
{
77
ONI_DEVICE_COMMAND_SEEK
= 1,
// OniSeek
78
};
79
80
#endif // ONICPROPERTIES_H
ONI_DEVICE_PROPERTY_SERIAL_NUMBER
Definition:
OniCProperties.h:30
ONI_STREAM_PROPERTY_EXPOSURE
Definition:
OniCProperties.h:70
ONI_STREAM_PROPERTY_NUMBER_OF_FRAMES
Definition:
OniCProperties.h:65
ONI_STREAM_PROPERTY_CROPPING
Definition:
OniCProperties.h:54
ONI_STREAM_PROPERTY_GAIN
Definition:
OniCProperties.h:71
ONI_STREAM_PROPERTY_MIN_VALUE
Definition:
OniCProperties.h:60
OBEXTENSION_ID_DEVICETYPE
Definition:
OniCProperties.h:42
ONI_STREAM_PROPERTY_VIDEO_MODE
Definition:
OniCProperties.h:57
OBEXTENSION_ID_UPDATE_FIRMWARE
Definition:
OniCProperties.h:43
OBEXTENSION_ID_IR_GAIN
Definition:
OniCProperties.h:36
ONI_DEVICE_PROPERTY_PLAYBACK_SPEED
Definition:
OniCProperties.h:47
ONI_DEVICE_PROPERTY_HARDWARE_VERSION
Definition:
OniCProperties.h:29
ONI_DEVICE_PROPERTY_IMAGE_REGISTRATION
Definition:
OniCProperties.h:32
ONI_DEVICE_PROPERTY_PLAYBACK_REPEAT_ENABLED
Definition:
OniCProperties.h:48
ONI_STREAM_PROPERTY_MIRRORING
Definition:
OniCProperties.h:63
ONI_STREAM_PROPERTY_AUTO_WHITE_BALANCE
Definition:
OniCProperties.h:68
OBEXTENSION_ID_IR_EXP
Definition:
OniCProperties.h:37
OBEXTENSION_ID_SERIALNUMBER
Definition:
OniCProperties.h:41
OBEXTENSION_ID_LASER_EN
Definition:
OniCProperties.h:40
ONI_DEVICE_PROPERTY_ERROR_STATE
Definition:
OniCProperties.h:31
ONI_STREAM_PROPERTY_VERTICAL_FOV
Definition:
OniCProperties.h:56
ONI_STREAM_PROPERTY_MAX_VALUE
Definition:
OniCProperties.h:59
ONI_DEVICE_PROPERTY_DRIVER_VERSION
Definition:
OniCProperties.h:28
ONI_DEVICE_PROPERTY_FIRMWARE_VERSION
Definition:
OniCProperties.h:27
ONI_STREAM_PROPERTY_STRIDE
Definition:
OniCProperties.h:62
ONI_STREAM_PROPERTY_HORIZONTAL_FOV
Definition:
OniCProperties.h:55
OBEXTENSION_ID_CAM_PARAMS
Definition:
OniCProperties.h:39
ONI_STREAM_PROPERTY_AUTO_EXPOSURE
Definition:
OniCProperties.h:69
OBEXTENSION_ID_LDP_EN
Definition:
OniCProperties.h:38
ONI_DEVICE_COMMAND_SEEK
Definition:
OniCProperties.h:77
astra_camera
Author(s): Tim Liu
autogenerated on Wed Dec 16 2020 03:54:34