Public Member Functions | Protected Member Functions | Protected Attributes
openni2_wrapper::OpenNI2Device Class Reference

#include <openni2_device.h>

List of all members.

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< OpenNI2VideoModecolor_video_modes_
bool color_video_started_
boost::shared_ptr
< openni::VideoStream > 
color_video_stream_
boost::shared_ptr
< OpenNI2FrameListener
depth_frame_listener
std::vector< OpenNI2VideoModedepth_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< OpenNI2VideoModeir_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_

Detailed Description

Definition at line 64 of file openni2_device.h.


Constructor & Destructor Documentation

openni2_wrapper::OpenNI2Device::OpenNI2Device ( const std::string &  device_URI) throw (OpenNI2Exception)

Definition at line 50 of file openni2_device.cpp.

Definition at line 85 of file openni2_device.cpp.


Member Function Documentation

Definition at line 556 of file openni2_device.cpp.

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.

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.

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.

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.

Definition at line 366 of file openni2_device.cpp.

Definition at line 382 of file openni2_device.cpp.

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.

Definition at line 114 of file openni2_device.cpp.

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.

Definition at line 234 of file openni2_device.cpp.

Definition at line 239 of file openni2_device.cpp.

Definition at line 229 of file openni2_device.cpp.

Definition at line 341 of file openni2_device.cpp.

Definition at line 192 of file openni2_device.cpp.

Definition at line 345 of file openni2_device.cpp.

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.

Definition at line 174 of file openni2_device.cpp.

Definition at line 130 of file openni2_device.cpp.

Definition at line 523 of file openni2_device.cpp.

Definition at line 539 of file openni2_device.cpp.

Definition at line 604 of file openni2_device.cpp.

Definition at line 497 of file openni2_device.cpp.

Definition at line 423 of file openni2_device.cpp.

Definition at line 609 of file openni2_device.cpp.

Definition at line 510 of file openni2_device.cpp.

Definition at line 403 of file openni2_device.cpp.

Definition at line 599 of file openni2_device.cpp.

Definition at line 484 of file openni2_device.cpp.

Definition at line 587 of file openni2_device.cpp.

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.


Member Data Documentation

Definition at line 145 of file openni2_device.h.

Definition at line 153 of file openni2_device.h.

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.

Definition at line 146 of file openni2_device.h.

Definition at line 154 of file openni2_device.h.

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.

Definition at line 160 of file openni2_device.h.

Definition at line 144 of file openni2_device.h.

Definition at line 152 of file openni2_device.h.

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.

Definition at line 162 of file openni2_device.h.


The documentation for this class was generated from the following files:


openni2_camera
Author(s): Julius Kammerl
autogenerated on Mon Oct 6 2014 03:05:32