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) 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 getAvailableModes () 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 51 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 
) throw (OpenNIException)

Definition at line 49 of file openni_device_kinect.cpp.

openni_wrapper::DeviceKinect::~DeviceKinect (  )  throw () [virtual]

Definition at line 78 of file openni_device_kinect.cpp.


Member Function Documentation

void openni_wrapper::DeviceKinect::getAvailableModes (  )  throw (OpenNIException) [protected, virtual]

Reimplemented from openni_wrapper::OpenNIDevice.

Definition at line 94 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 112 of file openni_device_kinect.cpp.

const ImageBayerGRBG::DebayeringMethod & openni_wrapper::DeviceKinect::getDebayeringMethod (  )  const throw () [inline]

Definition at line 82 of file openni_device_kinect.h.

bool openni_wrapper::DeviceKinect::isDepthCropped (  )  const throw (OpenNIException) [virtual]

Reimplemented from openni_wrapper::OpenNIDevice.

Definition at line 133 of file openni_device_kinect.cpp.

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

Reimplemented from openni_wrapper::OpenNIDevice.

Definition at line 144 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 89 of file openni_device_kinect.cpp.

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

Reimplemented from openni_wrapper::OpenNIDevice.

Definition at line 128 of file openni_device_kinect.cpp.

bool openni_wrapper::DeviceKinect::isSynchronized (  )  const throw (OpenNIException) [virtual]

Reimplemented from openni_wrapper::OpenNIDevice.

Definition at line 123 of file openni_device_kinect.cpp.

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

Definition at line 77 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 138 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 117 of file openni_device_kinect.cpp.


Friends And Related Function Documentation

friend class OpenNIDriver [friend]

Definition at line 45 of file openni_device_kinect.h.


Member Data Documentation

Definition at line 66 of file openni_device_kinect.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


openni_camera
Author(s): Radu Bogdan Rusu, Patrick Mihelich, Suat Gedikli
autogenerated on Fri Jan 11 10:06:34 2013