#include <openni2_device.h>
Public Member Functions | |
bool | getAutoExposure () const |
bool | getAutoWhiteBalance () const |
float | getColorFocalLength (int output_y_resolution) const |
const OpenNI2VideoMode | getColorVideoMode () throw (OpenNI2Exception) |
float | getDepthFocalLength (int output_y_resolution) const |
const OpenNI2VideoMode | getDepthVideoMode () throw (OpenNI2Exception) |
float | getIRFocalLength (int output_y_resolution) const |
const OpenNI2VideoMode | getIRVideoMode () throw (OpenNI2Exception) |
const std::string | getName () const |
const std::string | getStringID () const |
const std::vector < OpenNI2VideoMode > & | getSupportedColorVideoModes () const |
const std::vector < OpenNI2VideoMode > & | getSupportedDepthVideoModes () const |
const std::vector < OpenNI2VideoMode > & | getSupportedIRVideoModes () const |
const std::string | getUri () const |
uint16_t | getUsbProductId () const |
uint16_t | getUsbVendorId () const |
const std::string | getVendor () const |
bool | hasColorSensor () const |
bool | hasDepthSensor () const |
bool | hasIRSensor () const |
bool | isColorStreamStarted () |
bool | isColorVideoModeSupported (const OpenNI2VideoMode &video_mode) const |
bool | isDepthStreamStarted () |
bool | isDepthVideoModeSupported (const OpenNI2VideoMode &video_mode) const |
bool | isImageRegistrationModeSupported () const |
bool | isIRStreamStarted () |
bool | isIRVideoModeSupported (const OpenNI2VideoMode &video_mode) const |
bool | isValid () const |
OpenNI2Device (const std::string &device_URI) throw (OpenNI2Exception) | |
void | setAutoExposure (bool enable) throw (OpenNI2Exception) |
void | setAutoWhiteBalance (bool enable) throw (OpenNI2Exception) |
void | setColorFrameCallback (FrameCallbackFunction callback) |
void | setColorVideoMode (const OpenNI2VideoMode &video_mode) throw (OpenNI2Exception) |
void | setDepthColorSync (bool enabled) throw (OpenNI2Exception) |
void | setDepthFrameCallback (FrameCallbackFunction callback) |
void | setDepthVideoMode (const OpenNI2VideoMode &video_mode) throw (OpenNI2Exception) |
void | setImageRegistrationMode (bool enabled) throw (OpenNI2Exception) |
void | setIRFrameCallback (FrameCallbackFunction callback) |
void | setIRVideoMode (const OpenNI2VideoMode &video_mode) throw (OpenNI2Exception) |
void | setUseDeviceTimer (bool enable) |
void | startColorStream () |
void | startDepthStream () |
void | startIRStream () |
void | stopAllStreams () |
void | stopColorStream () |
void | stopDepthStream () |
void | stopIRStream () |
virtual | ~OpenNI2Device () |
Protected Member Functions | |
boost::shared_ptr < openni::VideoStream > | getColorVideoStream () const throw (OpenNI2Exception) |
boost::shared_ptr < openni::VideoStream > | getDepthVideoStream () const throw (OpenNI2Exception) |
boost::shared_ptr < openni::VideoStream > | getIRVideoStream () const throw (OpenNI2Exception) |
void | shutdown () |
Protected Attributes | |
boost::shared_ptr < OpenNI2FrameListener > | color_frame_listener |
std::vector< OpenNI2VideoMode > | color_video_modes_ |
bool | color_video_started_ |
boost::shared_ptr < openni::VideoStream > | color_video_stream_ |
boost::shared_ptr < OpenNI2FrameListener > | depth_frame_listener |
std::vector< OpenNI2VideoMode > | depth_video_modes_ |
bool | depth_video_started_ |
boost::shared_ptr < openni::VideoStream > | depth_video_stream_ |
boost::shared_ptr < openni::DeviceInfo > | device_info_ |
bool | image_registration_activated_ |
boost::shared_ptr < OpenNI2FrameListener > | ir_frame_listener |
std::vector< OpenNI2VideoMode > | ir_video_modes_ |
bool | ir_video_started_ |
boost::shared_ptr < openni::VideoStream > | ir_video_stream_ |
boost::shared_ptr< openni::Device > | openni_device_ |
bool | use_device_time_ |
Definition at line 64 of file openni2_device.h.
openni2_wrapper::OpenNI2Device::OpenNI2Device | ( | const std::string & | device_URI | ) | throw (OpenNI2Exception) |
Definition at line 50 of file openni2_device.cpp.
openni2_wrapper::OpenNI2Device::~OpenNI2Device | ( | ) | [virtual] |
Definition at line 85 of file openni2_device.cpp.
bool openni2_wrapper::OpenNI2Device::getAutoExposure | ( | ) | const |
Definition at line 556 of file openni2_device.cpp.
bool openni2_wrapper::OpenNI2Device::getAutoWhiteBalance | ( | ) | const |
Definition at line 571 of file openni2_device.cpp.
float openni2_wrapper::OpenNI2Device::getColorFocalLength | ( | int | output_y_resolution | ) | const |
Definition at line 148 of file openni2_device.cpp.
const OpenNI2VideoMode openni2_wrapper::OpenNI2Device::getColorVideoMode | ( | ) | throw (OpenNI2Exception) |
Definition at line 448 of file openni2_device.cpp.
boost::shared_ptr< openni::VideoStream > openni2_wrapper::OpenNI2Device::getColorVideoStream | ( | ) | const throw (OpenNI2Exception) [protected] |
Definition at line 630 of file openni2_device.cpp.
float openni2_wrapper::OpenNI2Device::getDepthFocalLength | ( | int | output_y_resolution | ) | const |
Definition at line 161 of file openni2_device.cpp.
const OpenNI2VideoMode openni2_wrapper::OpenNI2Device::getDepthVideoMode | ( | ) | throw (OpenNI2Exception) |
Definition at line 466 of file openni2_device.cpp.
boost::shared_ptr< openni::VideoStream > openni2_wrapper::OpenNI2Device::getDepthVideoStream | ( | ) | const throw (OpenNI2Exception) [protected] |
Definition at line 646 of file openni2_device.cpp.
float openni2_wrapper::OpenNI2Device::getIRFocalLength | ( | int | output_y_resolution | ) | const |
Definition at line 135 of file openni2_device.cpp.
const OpenNI2VideoMode openni2_wrapper::OpenNI2Device::getIRVideoMode | ( | ) | throw (OpenNI2Exception) |
Definition at line 430 of file openni2_device.cpp.
boost::shared_ptr< openni::VideoStream > openni2_wrapper::OpenNI2Device::getIRVideoStream | ( | ) | const throw (OpenNI2Exception) [protected] |
Definition at line 614 of file openni2_device.cpp.
const std::string openni2_wrapper::OpenNI2Device::getName | ( | ) | const |
Definition at line 104 of file openni2_device.cpp.
const std::string openni2_wrapper::OpenNI2Device::getStringID | ( | ) | const |
Definition at line 119 of file openni2_device.cpp.
const std::vector< OpenNI2VideoMode > & openni2_wrapper::OpenNI2Device::getSupportedColorVideoModes | ( | ) | const |
Definition at line 366 of file openni2_device.cpp.
const std::vector< OpenNI2VideoMode > & openni2_wrapper::OpenNI2Device::getSupportedDepthVideoModes | ( | ) | const |
Definition at line 382 of file openni2_device.cpp.
const std::vector< OpenNI2VideoMode > & openni2_wrapper::OpenNI2Device::getSupportedIRVideoModes | ( | ) | const |
Definition at line 350 of file openni2_device.cpp.
const std::string openni2_wrapper::OpenNI2Device::getUri | ( | ) | const |
Definition at line 94 of file openni2_device.cpp.
uint16_t openni2_wrapper::OpenNI2Device::getUsbProductId | ( | ) | const |
Definition at line 114 of file openni2_device.cpp.
uint16_t openni2_wrapper::OpenNI2Device::getUsbVendorId | ( | ) | const |
Definition at line 109 of file openni2_device.cpp.
const std::string openni2_wrapper::OpenNI2Device::getVendor | ( | ) | const |
Definition at line 99 of file openni2_device.cpp.
bool openni2_wrapper::OpenNI2Device::hasColorSensor | ( | ) | const |
Definition at line 234 of file openni2_device.cpp.
bool openni2_wrapper::OpenNI2Device::hasDepthSensor | ( | ) | const |
Definition at line 239 of file openni2_device.cpp.
bool openni2_wrapper::OpenNI2Device::hasIRSensor | ( | ) | const |
Definition at line 229 of file openni2_device.cpp.
Definition at line 341 of file openni2_device.cpp.
bool openni2_wrapper::OpenNI2Device::isColorVideoModeSupported | ( | const OpenNI2VideoMode & | video_mode | ) | const |
Definition at line 192 of file openni2_device.cpp.
Definition at line 345 of file openni2_device.cpp.
bool openni2_wrapper::OpenNI2Device::isDepthVideoModeSupported | ( | const OpenNI2VideoMode & | video_mode | ) | const |
Definition at line 210 of file openni2_device.cpp.
Definition at line 398 of file openni2_device.cpp.
Definition at line 337 of file openni2_device.cpp.
bool openni2_wrapper::OpenNI2Device::isIRVideoModeSupported | ( | const OpenNI2VideoMode & | video_mode | ) | const |
Definition at line 174 of file openni2_device.cpp.
bool openni2_wrapper::OpenNI2Device::isValid | ( | ) | const |
Definition at line 130 of file openni2_device.cpp.
void openni2_wrapper::OpenNI2Device::setAutoExposure | ( | bool | enable | ) | throw (OpenNI2Exception) |
Definition at line 523 of file openni2_device.cpp.
void openni2_wrapper::OpenNI2Device::setAutoWhiteBalance | ( | bool | enable | ) | throw (OpenNI2Exception) |
Definition at line 539 of file openni2_device.cpp.
Definition at line 604 of file openni2_device.cpp.
void openni2_wrapper::OpenNI2Device::setColorVideoMode | ( | const OpenNI2VideoMode & | video_mode | ) | throw (OpenNI2Exception) |
Definition at line 497 of file openni2_device.cpp.
void openni2_wrapper::OpenNI2Device::setDepthColorSync | ( | bool | enabled | ) | throw (OpenNI2Exception) |
Definition at line 423 of file openni2_device.cpp.
Definition at line 609 of file openni2_device.cpp.
void openni2_wrapper::OpenNI2Device::setDepthVideoMode | ( | const OpenNI2VideoMode & | video_mode | ) | throw (OpenNI2Exception) |
Definition at line 510 of file openni2_device.cpp.
void openni2_wrapper::OpenNI2Device::setImageRegistrationMode | ( | bool | enabled | ) | throw (OpenNI2Exception) |
Definition at line 403 of file openni2_device.cpp.
void openni2_wrapper::OpenNI2Device::setIRFrameCallback | ( | FrameCallbackFunction | callback | ) |
Definition at line 599 of file openni2_device.cpp.
void openni2_wrapper::OpenNI2Device::setIRVideoMode | ( | const OpenNI2VideoMode & | video_mode | ) | throw (OpenNI2Exception) |
Definition at line 484 of file openni2_device.cpp.
void openni2_wrapper::OpenNI2Device::setUseDeviceTimer | ( | bool | enable | ) |
Definition at line 587 of file openni2_device.cpp.
void openni2_wrapper::OpenNI2Device::shutdown | ( | ) | [protected] |
Definition at line 324 of file openni2_device.cpp.
Definition at line 258 of file openni2_device.cpp.
Definition at line 270 of file openni2_device.cpp.
Definition at line 244 of file openni2_device.cpp.
Definition at line 283 of file openni2_device.cpp.
Definition at line 301 of file openni2_device.cpp.
Definition at line 312 of file openni2_device.cpp.
Definition at line 290 of file openni2_device.cpp.
boost::shared_ptr<OpenNI2FrameListener> openni2_wrapper::OpenNI2Device::color_frame_listener [protected] |
Definition at line 145 of file openni2_device.h.
std::vector<OpenNI2VideoMode> openni2_wrapper::OpenNI2Device::color_video_modes_ [mutable, protected] |
Definition at line 153 of file openni2_device.h.
bool openni2_wrapper::OpenNI2Device::color_video_started_ [protected] |
Definition at line 157 of file openni2_device.h.
boost::shared_ptr<openni::VideoStream> openni2_wrapper::OpenNI2Device::color_video_stream_ [mutable, protected] |
Definition at line 149 of file openni2_device.h.
boost::shared_ptr<OpenNI2FrameListener> openni2_wrapper::OpenNI2Device::depth_frame_listener [protected] |
Definition at line 146 of file openni2_device.h.
std::vector<OpenNI2VideoMode> openni2_wrapper::OpenNI2Device::depth_video_modes_ [mutable, protected] |
Definition at line 154 of file openni2_device.h.
bool openni2_wrapper::OpenNI2Device::depth_video_started_ [protected] |
Definition at line 158 of file openni2_device.h.
boost::shared_ptr<openni::VideoStream> openni2_wrapper::OpenNI2Device::depth_video_stream_ [mutable, protected] |
Definition at line 150 of file openni2_device.h.
boost::shared_ptr<openni::DeviceInfo> openni2_wrapper::OpenNI2Device::device_info_ [protected] |
Definition at line 142 of file openni2_device.h.
bool openni2_wrapper::OpenNI2Device::image_registration_activated_ [protected] |
Definition at line 160 of file openni2_device.h.
boost::shared_ptr<OpenNI2FrameListener> openni2_wrapper::OpenNI2Device::ir_frame_listener [protected] |
Definition at line 144 of file openni2_device.h.
std::vector<OpenNI2VideoMode> openni2_wrapper::OpenNI2Device::ir_video_modes_ [mutable, protected] |
Definition at line 152 of file openni2_device.h.
bool openni2_wrapper::OpenNI2Device::ir_video_started_ [protected] |
Definition at line 156 of file openni2_device.h.
boost::shared_ptr<openni::VideoStream> openni2_wrapper::OpenNI2Device::ir_video_stream_ [mutable, protected] |
Definition at line 148 of file openni2_device.h.
boost::shared_ptr<openni::Device> openni2_wrapper::OpenNI2Device::openni_device_ [protected] |
Definition at line 141 of file openni2_device.h.
bool openni2_wrapper::OpenNI2Device::use_device_time_ [protected] |
Definition at line 162 of file openni2_device.h.