OniCProperties.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 ONICPROPERTIES_H
00022 #define ONICPROPERTIES_H
00023 
00024 // Device properties
00025 enum
00026 {
00027         ONI_DEVICE_PROPERTY_FIRMWARE_VERSION            = 0, // By implementation
00028         ONI_DEVICE_PROPERTY_DRIVER_VERSION              = 1, // OniVersion
00029         ONI_DEVICE_PROPERTY_HARDWARE_VERSION            = 2, // int
00030         ONI_DEVICE_PROPERTY_SERIAL_NUMBER               = 3, // string
00031         ONI_DEVICE_PROPERTY_ERROR_STATE                 = 4, // ??
00032         ONI_DEVICE_PROPERTY_IMAGE_REGISTRATION          = 5, // OniImageRegistrationMode
00033 
00034 
00035         //orbbec
00036         OBEXTENSION_ID_IR_GAIN = 11,
00037         OBEXTENSION_ID_IR_EXP,
00038         OBEXTENSION_ID_LDP_EN,
00039         OBEXTENSION_ID_CAM_PARAMS,
00040         OBEXTENSION_ID_LASER_EN,
00041         OBEXTENSION_ID_SERIALNUMBER,
00042         OBEXTENSION_ID_DEVICETYPE,
00043         OBEXTENSION_ID_UPDATE_FIRMWARE,
00044 
00045 
00046         // Files
00047         ONI_DEVICE_PROPERTY_PLAYBACK_SPEED              = 100, // float
00048         ONI_DEVICE_PROPERTY_PLAYBACK_REPEAT_ENABLED                     = 101, // OniBool
00049 };
00050 
00051 // Stream properties
00052 enum
00053 {
00054         ONI_STREAM_PROPERTY_CROPPING                    = 0, // OniCropping*
00055         ONI_STREAM_PROPERTY_HORIZONTAL_FOV              = 1, // float: radians
00056         ONI_STREAM_PROPERTY_VERTICAL_FOV                = 2, // float: radians
00057         ONI_STREAM_PROPERTY_VIDEO_MODE                  = 3, // OniVideoMode*
00058 
00059         ONI_STREAM_PROPERTY_MAX_VALUE                   = 4, // int
00060         ONI_STREAM_PROPERTY_MIN_VALUE                   = 5, // int
00061 
00062         ONI_STREAM_PROPERTY_STRIDE                      = 6, // int
00063         ONI_STREAM_PROPERTY_MIRRORING                   = 7, // OniBool
00064 
00065         ONI_STREAM_PROPERTY_NUMBER_OF_FRAMES            = 8, // int
00066 
00067         // Camera
00068         ONI_STREAM_PROPERTY_AUTO_WHITE_BALANCE          = 100, // OniBool
00069         ONI_STREAM_PROPERTY_AUTO_EXPOSURE                       = 101, // OniBool
00070         ONI_STREAM_PROPERTY_EXPOSURE                            = 102, // int
00071         ONI_STREAM_PROPERTY_GAIN                                        = 103, // int
00072 };
00073 
00074 // Device commands (for Invoke)
00075 enum
00076 {
00077         ONI_DEVICE_COMMAND_SEEK                         = 1, // OniSeek
00078 };
00079 
00080 #endif // ONICPROPERTIES_H


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