Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
include
openni2
OniProperties.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 ONIPROPERTIES_H
22
#define ONIPROPERTIES_H
23
24
namespace
openni
25
{
26
27
// Device properties
28
enum
29
{
30
DEVICE_PROPERTY_FIRMWARE_VERSION
= 0,
// string
31
DEVICE_PROPERTY_DRIVER_VERSION
= 1,
// OniVersion
32
DEVICE_PROPERTY_HARDWARE_VERSION
= 2,
// int
33
DEVICE_PROPERTY_SERIAL_NUMBER
= 3,
// string
34
DEVICE_PROPERTY_ERROR_STATE
= 4,
// ??
35
DEVICE_PROPERTY_IMAGE_REGISTRATION
= 5,
// OniImageRegistrationMode
36
37
//orbbec
38
OBEXTENSION_ID_IR_GAIN
= 11,
39
OBEXTENSION_ID_IR_EXP
,
40
OBEXTENSION_ID_LDP_EN
,
41
OBEXTENSION_ID_CAM_PARAMS
,
42
OBEXTENSION_ID_LASER_EN
,
43
OBEXTENSION_ID_SERIALNUMBER
,
44
OBEXTENSION_ID_DEVICETYPE
,
45
OBEXTENSION_ID_UPDATE_FIRMWARE
,
46
// Files
47
DEVICE_PROPERTY_PLAYBACK_SPEED
= 100,
// float
48
DEVICE_PROPERTY_PLAYBACK_REPEAT_ENABLED
= 101,
// OniBool
49
};
50
51
// Stream properties
52
enum
53
{
54
STREAM_PROPERTY_CROPPING
= 0,
// OniCropping*
55
STREAM_PROPERTY_HORIZONTAL_FOV
= 1,
// float: radians
56
STREAM_PROPERTY_VERTICAL_FOV
= 2,
// float: radians
57
STREAM_PROPERTY_VIDEO_MODE
= 3,
// OniVideoMode*
58
59
STREAM_PROPERTY_MAX_VALUE
= 4,
// int
60
STREAM_PROPERTY_MIN_VALUE
= 5,
// int
61
62
STREAM_PROPERTY_STRIDE
= 6,
// int
63
STREAM_PROPERTY_MIRRORING
= 7,
// OniBool
64
65
STREAM_PROPERTY_NUMBER_OF_FRAMES
= 8,
// int
66
67
// Camera
68
STREAM_PROPERTY_AUTO_WHITE_BALANCE
= 100,
// OniBool
69
STREAM_PROPERTY_AUTO_EXPOSURE
= 101,
// OniBool
70
STREAM_PROPERTY_EXPOSURE
= 102,
// int
71
STREAM_PROPERTY_GAIN
= 103,
// int
72
73
STREAM_PROPERTY_SOFTWARE_REGISTRATION
= 0x2080FF42,
// int
74
};
75
76
// Device commands (for Invoke)
77
enum
78
{
79
DEVICE_COMMAND_SEEK
= 1,
// OniSeek
80
};
81
82
}
// namespace openni
83
#endif // ONIPROPERTIES_H
openni::STREAM_PROPERTY_AUTO_EXPOSURE
Definition:
OniProperties.h:69
openni::DEVICE_PROPERTY_HARDWARE_VERSION
Definition:
OniProperties.h:32
openni::DEVICE_PROPERTY_FIRMWARE_VERSION
Definition:
OniProperties.h:30
openni::STREAM_PROPERTY_GAIN
Definition:
OniProperties.h:71
openni::STREAM_PROPERTY_VIDEO_MODE
Definition:
OniProperties.h:57
openni::STREAM_PROPERTY_HORIZONTAL_FOV
Definition:
OniProperties.h:55
openni::DEVICE_COMMAND_SEEK
Definition:
OniProperties.h:79
openni::DEVICE_PROPERTY_PLAYBACK_SPEED
Definition:
OniProperties.h:47
openni::STREAM_PROPERTY_EXPOSURE
Definition:
OniProperties.h:70
openni::DEVICE_PROPERTY_PLAYBACK_REPEAT_ENABLED
Definition:
OniProperties.h:48
openni::STREAM_PROPERTY_MIRRORING
Definition:
OniProperties.h:63
openni::DEVICE_PROPERTY_ERROR_STATE
Definition:
OniProperties.h:34
openni::STREAM_PROPERTY_CROPPING
Definition:
OniProperties.h:54
openni::OBEXTENSION_ID_IR_GAIN
Definition:
OniProperties.h:38
openni::STREAM_PROPERTY_STRIDE
Definition:
OniProperties.h:62
openni::OBEXTENSION_ID_DEVICETYPE
Definition:
OniProperties.h:44
openni
Definition:
astra_device.h:53
openni::STREAM_PROPERTY_SOFTWARE_REGISTRATION
Definition:
OniProperties.h:73
openni::DEVICE_PROPERTY_IMAGE_REGISTRATION
Definition:
OniProperties.h:35
openni::OBEXTENSION_ID_SERIALNUMBER
Definition:
OniProperties.h:43
openni::STREAM_PROPERTY_NUMBER_OF_FRAMES
Definition:
OniProperties.h:65
openni::OBEXTENSION_ID_IR_EXP
Definition:
OniProperties.h:39
openni::STREAM_PROPERTY_AUTO_WHITE_BALANCE
Definition:
OniProperties.h:68
openni::DEVICE_PROPERTY_DRIVER_VERSION
Definition:
OniProperties.h:31
openni::OBEXTENSION_ID_LASER_EN
Definition:
OniProperties.h:42
openni::OBEXTENSION_ID_UPDATE_FIRMWARE
Definition:
OniProperties.h:45
openni::DEVICE_PROPERTY_SERIAL_NUMBER
Definition:
OniProperties.h:33
openni::OBEXTENSION_ID_LDP_EN
Definition:
OniProperties.h:40
openni::STREAM_PROPERTY_MIN_VALUE
Definition:
OniProperties.h:60
openni::STREAM_PROPERTY_VERTICAL_FOV
Definition:
OniProperties.h:56
openni::STREAM_PROPERTY_MAX_VALUE
Definition:
OniProperties.h:59
openni::OBEXTENSION_ID_CAM_PARAMS
Definition:
OniProperties.h:41
astra_camera
Author(s): Tim Liu
autogenerated on Wed Dec 16 2020 03:54:34