#include <OpenNI.h>
Public Member Functions | |
bool | getAutoExposureEnabled () const |
bool | getAutoWhiteBalanceEnabled () const |
int | getExposure () |
int | getGain () |
bool | isValid () const |
Status | setAutoExposureEnabled (bool enabled) |
Status | setAutoWhiteBalanceEnabled (bool enabled) |
Status | setExposure (int exposure) |
Status | setGain (int gain) |
Private Member Functions | |
CameraSettings (VideoStream *pStream) | |
template<class T > | |
Status | getProperty (int propertyId, T *value) const |
template<class T > | |
Status | setProperty (int propertyId, const T &value) |
Private Attributes | |
VideoStream * | m_pStream |
Friends | |
class | VideoStream |
openni::CameraSettings::CameraSettings | ( | VideoStream * | pStream | ) | [inline, private] |
bool openni::CameraSettings::getAutoExposureEnabled | ( | ) | const [inline] |
bool openni::CameraSettings::getAutoWhiteBalanceEnabled | ( | ) | const [inline] |
int openni::CameraSettings::getExposure | ( | ) | [inline] |
int openni::CameraSettings::getGain | ( | ) | [inline] |
Status openni::CameraSettings::getProperty | ( | int | propertyId, |
T * | value | ||
) | const [inline, private] |
bool openni::CameraSettings::isValid | ( | ) | const [inline] |
Status openni::CameraSettings::setAutoExposureEnabled | ( | bool | enabled | ) | [inline] |
Status openni::CameraSettings::setAutoWhiteBalanceEnabled | ( | bool | enabled | ) | [inline] |
Status openni::CameraSettings::setExposure | ( | int | exposure | ) | [inline] |
Status openni::CameraSettings::setGain | ( | int | gain | ) | [inline] |
Status openni::CameraSettings::setProperty | ( | int | propertyId, |
const T & | value | ||
) | [inline, private] |
friend class VideoStream [friend] |
VideoStream* openni::CameraSettings::m_pStream [private] |