Go to the documentation of this file.
38 #ifndef __OPENNI_DEVICE_ONI__
39 #define __OPENNI_DEVICE_ONI__
57 DeviceONI (xn::Context& context,
const std::string& file_name,
bool repeat =
false,
bool streaming =
true) throw (
OpenNIException);
73 virtual
bool isImageResizeSupported (
unsigned input_width,
unsigned input_height,
unsigned output_width,
unsigned output_height) const throw ();
96 #endif //__OPENNI_DEVICE_ONI__
virtual bool isDepthStreamRunning() const
Class representing an astract device for Primesense or MS Kinect devices.
boost::condition_variable player_condition_
virtual void stopIRStream()
virtual bool isImageStreamRunning() const
bool image_stream_running_
bool depth_stream_running_
virtual bool isImageResizeSupported(unsigned input_width, unsigned input_height, unsigned output_width, unsigned output_height) const
boost::thread player_thread_
static void __stdcall NewONIImageDataAvailable(xn::ProductionNode &node, void *cookie)
static void __stdcall NewONIIRDataAvailable(xn::ProductionNode &node, void *cookie)
Image class containing just a reference to image meta data. Thus this class just provides an interfac...
virtual void startIRStream()
static void __stdcall NewONIDepthDataAvailable(xn::ProductionNode &node, void *cookie)
virtual void stopImageStream()
Concrete implementation of the interface OpenNIDevice for a virtual device playing back an ONI file.
DeviceONI(xn::Context &context, const std::string &file_name, bool repeat=false, bool streaming=true)
virtual bool isIRStreamRunning() const
virtual void startImageStream()
void PlayerThreadFunction()
virtual boost::shared_ptr< Image > getCurrentImage(boost::shared_ptr< xn::ImageMetaData > image_meta_data) const
virtual void startDepthStream()
boost::mutex player_mutex_
Driver class implemented as Singleton. This class contains the xn::Context object used by all devices...
virtual void stopDepthStream()
openni_camera
Author(s): Patrick Mihelich, Suat Gedikli, Radu Bogdan Rusu
autogenerated on Thu Apr 21 2022 02:37:23