#include <CameraRGBD.h>

Public Member Functions | |
| CameraOpenNI2 (const std::string &deviceId="", float imageRate=0, const Transform &localTransform=Transform::getIdentity()) | |
| virtual std::string | getSerial () const |
| virtual bool | init (const std::string &calibrationFolder=".", const std::string &cameraName="") |
| virtual bool | isCalibrated () const |
| bool | setAutoExposure (bool enabled) |
| bool | setAutoWhiteBalance (bool enabled) |
| bool | setExposure (int value) |
| bool | setGain (int value) |
| bool | setMirroring (bool enabled) |
| void | setOpenNI2StampsAndIDsUsed (bool used) |
| virtual | ~CameraOpenNI2 () |
Static Public Member Functions | |
| static bool | available () |
| static bool | exposureGainAvailable () |
Protected Member Functions | |
| virtual SensorData | captureImage (CameraInfo *info=0) |
Private Attributes | |
| openni::VideoStream * | _color |
| openni::VideoStream * | _depth |
| float | _depthFx |
| float | _depthFy |
| openni::Device * | _device |
| std::string | _deviceId |
| bool | _openNI2StampsAndIDsUsed |
Definition at line 145 of file CameraRGBD.h.
| rtabmap::CameraOpenNI2::CameraOpenNI2 | ( | const std::string & | deviceId = "", |
| float | imageRate = 0, |
||
| const Transform & | localTransform = Transform::getIdentity() |
||
| ) |
Definition at line 376 of file CameraRGBD.cpp.
| rtabmap::CameraOpenNI2::~CameraOpenNI2 | ( | ) | [virtual] |
Definition at line 397 of file CameraRGBD.cpp.
| bool rtabmap::CameraOpenNI2::available | ( | ) | [static] |
Definition at line 358 of file CameraRGBD.cpp.
| SensorData rtabmap::CameraOpenNI2::captureImage | ( | CameraInfo * | info = 0 | ) | [protected, virtual] |
returned rgb and depth images should be already rectified if calibration was loaded
Implements rtabmap::Camera.
Definition at line 674 of file CameraRGBD.cpp.
| bool rtabmap::CameraOpenNI2::exposureGainAvailable | ( | ) | [static] |
Definition at line 367 of file CameraRGBD.cpp.
| std::string rtabmap::CameraOpenNI2::getSerial | ( | ) | const [virtual] |
Implements rtabmap::Camera.
Definition at line 663 of file CameraRGBD.cpp.
| bool rtabmap::CameraOpenNI2::init | ( | const std::string & | calibrationFolder = ".", |
| const std::string & | cameraName = "" |
||
| ) | [virtual] |
Implements rtabmap::Camera.
Definition at line 485 of file CameraRGBD.cpp.
| bool rtabmap::CameraOpenNI2::isCalibrated | ( | ) | const [virtual] |
Implements rtabmap::Camera.
Definition at line 658 of file CameraRGBD.cpp.
| bool rtabmap::CameraOpenNI2::setAutoExposure | ( | bool | enabled | ) |
Definition at line 426 of file CameraRGBD.cpp.
| bool rtabmap::CameraOpenNI2::setAutoWhiteBalance | ( | bool | enabled | ) |
Definition at line 413 of file CameraRGBD.cpp.
| bool rtabmap::CameraOpenNI2::setExposure | ( | int | value | ) |
Definition at line 439 of file CameraRGBD.cpp.
| bool rtabmap::CameraOpenNI2::setGain | ( | int | value | ) |
Definition at line 456 of file CameraRGBD.cpp.
| bool rtabmap::CameraOpenNI2::setMirroring | ( | bool | enabled | ) |
Definition at line 473 of file CameraRGBD.cpp.
| void rtabmap::CameraOpenNI2::setOpenNI2StampsAndIDsUsed | ( | bool | used | ) | [inline] |
Definition at line 168 of file CameraRGBD.h.
openni::VideoStream* rtabmap::CameraOpenNI2::_color [private] |
Definition at line 175 of file CameraRGBD.h.
openni::VideoStream* rtabmap::CameraOpenNI2::_depth [private] |
Definition at line 176 of file CameraRGBD.h.
float rtabmap::CameraOpenNI2::_depthFx [private] |
Definition at line 177 of file CameraRGBD.h.
float rtabmap::CameraOpenNI2::_depthFy [private] |
Definition at line 178 of file CameraRGBD.h.
openni::Device* rtabmap::CameraOpenNI2::_device [private] |
Definition at line 174 of file CameraRGBD.h.
std::string rtabmap::CameraOpenNI2::_deviceId [private] |
Definition at line 179 of file CameraRGBD.h.
bool rtabmap::CameraOpenNI2::_openNI2StampsAndIDsUsed [private] |
Definition at line 180 of file CameraRGBD.h.