Public Member Functions | Protected Member Functions | Protected Attributes | Friends
openni_wrapper::DeviceKinect Class Reference

Concrete implementation of the interface OpenNIDevice for a MS Kinect device. More...

#include <openni_device_kinect.h>

Inheritance diagram for openni_wrapper::DeviceKinect:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DeviceKinect (xn::Context &context, const xn::NodeInfo &device_node, const xn::NodeInfo &image_node, const xn::NodeInfo &depth_node, const xn::NodeInfo &ir_node) throw (OpenNIException)
const
ImageBayerGRBG::DebayeringMethod
getDebayeringMethod () const throw ()
virtual bool isDepthCropped () const throw (OpenNIException)
virtual bool isDepthCroppingSupported () const throw ()
virtual bool isSynchronizationSupported () const throw ()
virtual bool isSynchronized () const throw (OpenNIException)
void setDebayeringMethod (const ImageBayerGRBG::DebayeringMethod &debayering_method) throw ()
virtual void setDepthCropping (unsigned x, unsigned y, unsigned width, unsigned height) throw (OpenNIException)
virtual void setSynchronization (bool on_off) throw (OpenNIException)
virtual ~DeviceKinect () throw ()

Protected Member Functions

virtual void enumAvailableModes () throw (OpenNIException)
virtual boost::shared_ptr< ImagegetCurrentImage (boost::shared_ptr< xn::ImageMetaData > image_meta_data) const throw ()
virtual bool isImageResizeSupported (unsigned input_width, unsigned input_height, unsigned output_width, unsigned output_height) const throw ()

Protected Attributes

ImageBayerGRBG::DebayeringMethod debayering_method_

Friends

class OpenNIDriver

Detailed Description

Concrete implementation of the interface OpenNIDevice for a MS Kinect device.

Author:
Suat Gedikli
Date:
02.january 2011

Definition at line 53 of file openni_device_kinect.h.


Constructor & Destructor Documentation

openni_wrapper::DeviceKinect::DeviceKinect ( xn::Context &  context,
const xn::NodeInfo &  device_node,
const xn::NodeInfo &  image_node,
const xn::NodeInfo &  depth_node,
const xn::NodeInfo &  ir_node 
) throw (OpenNIException)

Definition at line 48 of file openni_device_kinect.cpp.

Definition at line 80 of file openni_device_kinect.cpp.


Member Function Documentation

Reimplemented from openni_wrapper::OpenNIDevice.

Definition at line 96 of file openni_device_kinect.cpp.

boost::shared_ptr< Image > openni_wrapper::DeviceKinect::getCurrentImage ( boost::shared_ptr< xn::ImageMetaData >  image_meta_data) const throw () [protected, virtual]

Implements openni_wrapper::OpenNIDevice.

Definition at line 114 of file openni_device_kinect.cpp.

Definition at line 84 of file openni_device_kinect.h.

Reimplemented from openni_wrapper::OpenNIDevice.

Definition at line 135 of file openni_device_kinect.cpp.

bool openni_wrapper::DeviceKinect::isDepthCroppingSupported ( ) const throw () [virtual]

Reimplemented from openni_wrapper::OpenNIDevice.

Definition at line 146 of file openni_device_kinect.cpp.

bool openni_wrapper::DeviceKinect::isImageResizeSupported ( unsigned  input_width,
unsigned  input_height,
unsigned  output_width,
unsigned  output_height 
) const throw () [protected, virtual]

Implements openni_wrapper::OpenNIDevice.

Definition at line 91 of file openni_device_kinect.cpp.

Reimplemented from openni_wrapper::OpenNIDevice.

Definition at line 130 of file openni_device_kinect.cpp.

Reimplemented from openni_wrapper::OpenNIDevice.

Definition at line 125 of file openni_device_kinect.cpp.

void openni_wrapper::DeviceKinect::setDebayeringMethod ( const ImageBayerGRBG::DebayeringMethod debayering_method) throw () [inline]

Definition at line 79 of file openni_device_kinect.h.

void openni_wrapper::DeviceKinect::setDepthCropping ( unsigned  x,
unsigned  y,
unsigned  width,
unsigned  height 
) throw (OpenNIException) [virtual]

Reimplemented from openni_wrapper::OpenNIDevice.

Definition at line 140 of file openni_device_kinect.cpp.

void openni_wrapper::DeviceKinect::setSynchronization ( bool  on_off) throw (OpenNIException) [virtual]

Reimplemented from openni_wrapper::OpenNIDevice.

Definition at line 119 of file openni_device_kinect.cpp.


Friends And Related Function Documentation

friend class OpenNIDriver [friend]

Definition at line 55 of file openni_device_kinect.h.


Member Data Documentation

Definition at line 76 of file openni_device_kinect.h.


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


openni_camera
Author(s): Patrick Mihelich, Suat Gedikli, Radu Bogdan Rusu
autogenerated on Thu Jun 6 2019 20:16:13