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 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< 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 51 of file openni2_device.cpp.

Definition at line 86 of file openni2_device.cpp.


Member Function Documentation

Definition at line 587 of file openni2_device.cpp.

Definition at line 603 of file openni2_device.cpp.

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.

Definition at line 463 of file openni2_device.cpp.

boost::shared_ptr< openni::VideoStream > openni2_wrapper::OpenNI2Device::getColorVideoStream ( ) const throw (OpenNI2Exception) [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.

Definition at line 481 of file openni2_device.cpp.

boost::shared_ptr< openni::VideoStream > openni2_wrapper::OpenNI2Device::getDepthVideoStream ( ) const throw (OpenNI2Exception) [protected]

Definition at line 694 of file openni2_device.cpp.

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.

Definition at line 445 of file openni2_device.cpp.

boost::shared_ptr< openni::VideoStream > openni2_wrapper::OpenNI2Device::getIRVideoStream ( ) const throw (OpenNI2Exception) [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.

Definition at line 381 of file openni2_device.cpp.

Definition at line 397 of file openni2_device.cpp.

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.

Definition at line 115 of file openni2_device.cpp.

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.

Definition at line 249 of file openni2_device.cpp.

Definition at line 254 of file openni2_device.cpp.

Definition at line 244 of file openni2_device.cpp.

Definition at line 356 of file openni2_device.cpp.

Definition at line 207 of file openni2_device.cpp.

Definition at line 360 of file openni2_device.cpp.

Definition at line 225 of file openni2_device.cpp.

Definition at line 413 of file openni2_device.cpp.

Definition at line 352 of file openni2_device.cpp.

Definition at line 189 of file openni2_device.cpp.

Definition at line 131 of file openni2_device.cpp.

Definition at line 538 of file openni2_device.cpp.

Definition at line 554 of file openni2_device.cpp.

Definition at line 652 of file openni2_device.cpp.

Definition at line 512 of file openni2_device.cpp.

Definition at line 438 of file openni2_device.cpp.

Definition at line 657 of file openni2_device.cpp.

Definition at line 525 of file openni2_device.cpp.

Definition at line 571 of file openni2_device.cpp.

Definition at line 418 of file openni2_device.cpp.

Definition at line 647 of file openni2_device.cpp.

Definition at line 499 of file openni2_device.cpp.

Definition at line 635 of file openni2_device.cpp.

Definition at line 339 of file openni2_device.cpp.

Definition at line 273 of file openni2_device.cpp.

Definition at line 285 of file openni2_device.cpp.

Definition at line 259 of file openni2_device.cpp.

Definition at line 298 of file openni2_device.cpp.

Definition at line 316 of file openni2_device.cpp.

Definition at line 327 of file openni2_device.cpp.

Definition at line 305 of file openni2_device.cpp.


Member Data Documentation

Definition at line 148 of file openni2_device.h.

Definition at line 156 of file openni2_device.h.

Definition at line 160 of file openni2_device.h.

boost::shared_ptr<openni::VideoStream> openni2_wrapper::OpenNI2Device::color_video_stream_ [mutable, protected]

Definition at line 152 of file openni2_device.h.

Definition at line 149 of file openni2_device.h.

Definition at line 157 of file openni2_device.h.

Definition at line 161 of file openni2_device.h.

boost::shared_ptr<openni::VideoStream> openni2_wrapper::OpenNI2Device::depth_video_stream_ [mutable, protected]

Definition at line 153 of file openni2_device.h.

boost::shared_ptr<openni::DeviceInfo> openni2_wrapper::OpenNI2Device::device_info_ [protected]

Definition at line 145 of file openni2_device.h.

Definition at line 163 of file openni2_device.h.

Definition at line 147 of file openni2_device.h.

Definition at line 155 of file openni2_device.h.

Definition at line 159 of file openni2_device.h.

boost::shared_ptr<openni::VideoStream> openni2_wrapper::OpenNI2Device::ir_video_stream_ [mutable, protected]

Definition at line 151 of file openni2_device.h.

boost::shared_ptr<openni::Device> openni2_wrapper::OpenNI2Device::openni_device_ [protected]

Definition at line 144 of file openni2_device.h.

Definition at line 165 of file openni2_device.h.


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


openni2_camera
Author(s): Julius Kammerl
autogenerated on Tue Oct 3 2017 03:16:54