OniProperties.h
Go to the documentation of this file.
00001 /*****************************************************************************
00002 *                                                                            *
00003 *  OpenNI 2.x Alpha                                                          *
00004 *  Copyright (C) 2012 PrimeSense Ltd.                                        *
00005 *                                                                            *
00006 *  This file is part of OpenNI.                                              *
00007 *                                                                            *
00008 *  Licensed under the Apache License, Version 2.0 (the "License");           *
00009 *  you may not use this file except in compliance with the License.          *
00010 *  You may obtain a copy of the License at                                   *
00011 *                                                                            *
00012 *      http://www.apache.org/licenses/LICENSE-2.0                            *
00013 *                                                                            *
00014 *  Unless required by applicable law or agreed to in writing, software       *
00015 *  distributed under the License is distributed on an "AS IS" BASIS,         *
00016 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  *
00017 *  See the License for the specific language governing permissions and       *
00018 *  limitations under the License.                                            *
00019 *                                                                            *
00020 *****************************************************************************/
00021 #ifndef ONIPROPERTIES_H
00022 #define ONIPROPERTIES_H
00023 
00024 namespace openni
00025 {
00026 
00027 // Device properties
00028 enum
00029 {
00030         DEVICE_PROPERTY_FIRMWARE_VERSION                = 0, // string
00031         DEVICE_PROPERTY_DRIVER_VERSION                  = 1, // OniVersion
00032         DEVICE_PROPERTY_HARDWARE_VERSION                = 2, // int
00033         DEVICE_PROPERTY_SERIAL_NUMBER                   = 3, // string
00034         DEVICE_PROPERTY_ERROR_STATE                     = 4, // ??
00035         DEVICE_PROPERTY_IMAGE_REGISTRATION              = 5, // OniImageRegistrationMode
00036 
00037          //orbbec
00038     OBEXTENSION_ID_IR_GAIN = 11,
00039     OBEXTENSION_ID_IR_EXP,
00040     OBEXTENSION_ID_LDP_EN,
00041     OBEXTENSION_ID_CAM_PARAMS,
00042     OBEXTENSION_ID_LASER_EN,
00043     OBEXTENSION_ID_SERIALNUMBER,
00044     OBEXTENSION_ID_DEVICETYPE,
00045     OBEXTENSION_ID_UPDATE_FIRMWARE,
00046         // Files
00047         DEVICE_PROPERTY_PLAYBACK_SPEED                  = 100, // float
00048         DEVICE_PROPERTY_PLAYBACK_REPEAT_ENABLED         = 101, // OniBool
00049 };
00050 
00051 // Stream properties
00052 enum
00053 {
00054         STREAM_PROPERTY_CROPPING                        = 0, // OniCropping*
00055         STREAM_PROPERTY_HORIZONTAL_FOV                  = 1, // float: radians
00056         STREAM_PROPERTY_VERTICAL_FOV                    = 2, // float: radians
00057         STREAM_PROPERTY_VIDEO_MODE                      = 3, // OniVideoMode*
00058 
00059         STREAM_PROPERTY_MAX_VALUE                       = 4, // int
00060         STREAM_PROPERTY_MIN_VALUE                       = 5, // int
00061 
00062         STREAM_PROPERTY_STRIDE                          = 6, // int
00063         STREAM_PROPERTY_MIRRORING                       = 7, // OniBool
00064 
00065         STREAM_PROPERTY_NUMBER_OF_FRAMES                = 8, // int
00066 
00067         // Camera
00068         STREAM_PROPERTY_AUTO_WHITE_BALANCE              = 100, // OniBool
00069         STREAM_PROPERTY_AUTO_EXPOSURE                   = 101, // OniBool
00070         STREAM_PROPERTY_EXPOSURE                                = 102, // int
00071         STREAM_PROPERTY_GAIN                                    = 103, // int
00072 
00073         STREAM_PROPERTY_SOFTWARE_REGISTRATION   = 0x2080FF42, // int
00074 };
00075 
00076 // Device commands (for Invoke)
00077 enum
00078 {
00079         DEVICE_COMMAND_SEEK                             = 1, // OniSeek
00080 };
00081 
00082 } // namespace openni
00083 #endif // ONIPROPERTIES_H


astra_camera
Author(s): Tim Liu
autogenerated on Wed Jul 10 2019 03:18:54