#include <openni2_device.h>
Public Member Functions | |
bool | getAutoExposure () const |
bool | getAutoWhiteBalance () const |
float | getBaseline () 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) |
int | getExposure () const |
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 | setExposure (int exposure) 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 51 of file openni2_device.cpp.
|
virtual |
Definition at line 86 of file openni2_device.cpp.
bool openni2_wrapper::OpenNI2Device::getAutoExposure | ( | ) | const |
Definition at line 587 of file openni2_device.cpp.
bool openni2_wrapper::OpenNI2Device::getAutoWhiteBalance | ( | ) | const |
Definition at line 603 of file openni2_device.cpp.
float openni2_wrapper::OpenNI2Device::getBaseline | ( | ) | const |
Definition at line 175 of file openni2_device.cpp.
float openni2_wrapper::OpenNI2Device::getColorFocalLength | ( | int | output_y_resolution | ) | const |
Definition at line 149 of file openni2_device.cpp.
const OpenNI2VideoMode openni2_wrapper::OpenNI2Device::getColorVideoMode | ( | ) | ||
throw | ( | OpenNI2Exception | ||
) |
Definition at line 463 of file openni2_device.cpp.
|
protected |
Definition at line 678 of file openni2_device.cpp.
float openni2_wrapper::OpenNI2Device::getDepthFocalLength | ( | int | output_y_resolution | ) | const |
Definition at line 162 of file openni2_device.cpp.
const OpenNI2VideoMode openni2_wrapper::OpenNI2Device::getDepthVideoMode | ( | ) | ||
throw | ( | OpenNI2Exception | ||
) |
Definition at line 481 of file openni2_device.cpp.
|
protected |
Definition at line 694 of file openni2_device.cpp.
int openni2_wrapper::OpenNI2Device::getExposure | ( | ) | const |
Definition at line 619 of file openni2_device.cpp.
float openni2_wrapper::OpenNI2Device::getIRFocalLength | ( | int | output_y_resolution | ) | const |
Definition at line 136 of file openni2_device.cpp.
const OpenNI2VideoMode openni2_wrapper::OpenNI2Device::getIRVideoMode | ( | ) | ||
throw | ( | OpenNI2Exception | ||
) |
Definition at line 445 of file openni2_device.cpp.
|
protected |
Definition at line 662 of file openni2_device.cpp.
const std::string openni2_wrapper::OpenNI2Device::getName | ( | ) | const |
Definition at line 105 of file openni2_device.cpp.
const std::string openni2_wrapper::OpenNI2Device::getStringID | ( | ) | const |
Definition at line 120 of file openni2_device.cpp.
const std::vector< OpenNI2VideoMode > & openni2_wrapper::OpenNI2Device::getSupportedColorVideoModes | ( | ) | const |
Definition at line 381 of file openni2_device.cpp.
const std::vector< OpenNI2VideoMode > & openni2_wrapper::OpenNI2Device::getSupportedDepthVideoModes | ( | ) | const |
Definition at line 397 of file openni2_device.cpp.
const std::vector< OpenNI2VideoMode > & openni2_wrapper::OpenNI2Device::getSupportedIRVideoModes | ( | ) | const |
Definition at line 365 of file openni2_device.cpp.
const std::string openni2_wrapper::OpenNI2Device::getUri | ( | ) | const |
Definition at line 95 of file openni2_device.cpp.
uint16_t openni2_wrapper::OpenNI2Device::getUsbProductId | ( | ) | const |
Definition at line 115 of file openni2_device.cpp.
uint16_t openni2_wrapper::OpenNI2Device::getUsbVendorId | ( | ) | const |
Definition at line 110 of file openni2_device.cpp.
const std::string openni2_wrapper::OpenNI2Device::getVendor | ( | ) | const |
Definition at line 100 of file openni2_device.cpp.
bool openni2_wrapper::OpenNI2Device::hasColorSensor | ( | ) | const |
Definition at line 249 of file openni2_device.cpp.
bool openni2_wrapper::OpenNI2Device::hasDepthSensor | ( | ) | const |
Definition at line 254 of file openni2_device.cpp.
bool openni2_wrapper::OpenNI2Device::hasIRSensor | ( | ) | const |
Definition at line 244 of file openni2_device.cpp.
bool openni2_wrapper::OpenNI2Device::isColorStreamStarted | ( | ) |
Definition at line 356 of file openni2_device.cpp.
bool openni2_wrapper::OpenNI2Device::isColorVideoModeSupported | ( | const OpenNI2VideoMode & | video_mode | ) | const |
Definition at line 207 of file openni2_device.cpp.
bool openni2_wrapper::OpenNI2Device::isDepthStreamStarted | ( | ) |
Definition at line 360 of file openni2_device.cpp.
bool openni2_wrapper::OpenNI2Device::isDepthVideoModeSupported | ( | const OpenNI2VideoMode & | video_mode | ) | const |
Definition at line 225 of file openni2_device.cpp.
bool openni2_wrapper::OpenNI2Device::isImageRegistrationModeSupported | ( | ) | const |
Definition at line 413 of file openni2_device.cpp.
bool openni2_wrapper::OpenNI2Device::isIRStreamStarted | ( | ) |
Definition at line 352 of file openni2_device.cpp.
bool openni2_wrapper::OpenNI2Device::isIRVideoModeSupported | ( | const OpenNI2VideoMode & | video_mode | ) | const |
Definition at line 189 of file openni2_device.cpp.
bool openni2_wrapper::OpenNI2Device::isValid | ( | ) | const |
Definition at line 131 of file openni2_device.cpp.
void openni2_wrapper::OpenNI2Device::setAutoExposure | ( | bool | enable | ) | |
throw | ( | OpenNI2Exception | |||
) |
Definition at line 538 of file openni2_device.cpp.
void openni2_wrapper::OpenNI2Device::setAutoWhiteBalance | ( | bool | enable | ) | |
throw | ( | OpenNI2Exception | |||
) |
Definition at line 554 of file openni2_device.cpp.
void openni2_wrapper::OpenNI2Device::setColorFrameCallback | ( | FrameCallbackFunction | callback | ) |
Definition at line 652 of file openni2_device.cpp.
void openni2_wrapper::OpenNI2Device::setColorVideoMode | ( | const OpenNI2VideoMode & | video_mode | ) | |
throw | ( | OpenNI2Exception | |||
) |
Definition at line 512 of file openni2_device.cpp.
void openni2_wrapper::OpenNI2Device::setDepthColorSync | ( | bool | enabled | ) | |
throw | ( | OpenNI2Exception | |||
) |
Definition at line 438 of file openni2_device.cpp.
void openni2_wrapper::OpenNI2Device::setDepthFrameCallback | ( | FrameCallbackFunction | callback | ) |
Definition at line 657 of file openni2_device.cpp.
void openni2_wrapper::OpenNI2Device::setDepthVideoMode | ( | const OpenNI2VideoMode & | video_mode | ) | |
throw | ( | OpenNI2Exception | |||
) |
Definition at line 525 of file openni2_device.cpp.
void openni2_wrapper::OpenNI2Device::setExposure | ( | int | exposure | ) | |
throw | ( | OpenNI2Exception | |||
) |
Definition at line 571 of file openni2_device.cpp.
void openni2_wrapper::OpenNI2Device::setImageRegistrationMode | ( | bool | enabled | ) | |
throw | ( | OpenNI2Exception | |||
) |
Definition at line 418 of file openni2_device.cpp.
void openni2_wrapper::OpenNI2Device::setIRFrameCallback | ( | FrameCallbackFunction | callback | ) |
Definition at line 647 of file openni2_device.cpp.
void openni2_wrapper::OpenNI2Device::setIRVideoMode | ( | const OpenNI2VideoMode & | video_mode | ) | |
throw | ( | OpenNI2Exception | |||
) |
Definition at line 499 of file openni2_device.cpp.
void openni2_wrapper::OpenNI2Device::setUseDeviceTimer | ( | bool | enable | ) |
Definition at line 635 of file openni2_device.cpp.
|
protected |
Definition at line 339 of file openni2_device.cpp.
void openni2_wrapper::OpenNI2Device::startColorStream | ( | ) |
Definition at line 273 of file openni2_device.cpp.
void openni2_wrapper::OpenNI2Device::startDepthStream | ( | ) |
Definition at line 285 of file openni2_device.cpp.
void openni2_wrapper::OpenNI2Device::startIRStream | ( | ) |
Definition at line 259 of file openni2_device.cpp.
void openni2_wrapper::OpenNI2Device::stopAllStreams | ( | ) |
Definition at line 298 of file openni2_device.cpp.
void openni2_wrapper::OpenNI2Device::stopColorStream | ( | ) |
Definition at line 316 of file openni2_device.cpp.
void openni2_wrapper::OpenNI2Device::stopDepthStream | ( | ) |
Definition at line 327 of file openni2_device.cpp.
void openni2_wrapper::OpenNI2Device::stopIRStream | ( | ) |
Definition at line 305 of file openni2_device.cpp.
|
protected |
Definition at line 148 of file openni2_device.h.
|
mutableprotected |
Definition at line 156 of file openni2_device.h.
|
protected |
Definition at line 160 of file openni2_device.h.
|
mutableprotected |
Definition at line 152 of file openni2_device.h.
|
protected |
Definition at line 149 of file openni2_device.h.
|
mutableprotected |
Definition at line 157 of file openni2_device.h.
|
protected |
Definition at line 161 of file openni2_device.h.
|
mutableprotected |
Definition at line 153 of file openni2_device.h.
|
protected |
Definition at line 145 of file openni2_device.h.
|
protected |
Definition at line 163 of file openni2_device.h.
|
protected |
Definition at line 147 of file openni2_device.h.
|
mutableprotected |
Definition at line 155 of file openni2_device.h.
|
protected |
Definition at line 159 of file openni2_device.h.
|
mutableprotected |
Definition at line 151 of file openni2_device.h.
|
protected |
Definition at line 144 of file openni2_device.h.
|
protected |
Definition at line 165 of file openni2_device.h.