Public Member Functions | Protected Member Functions | Protected Attributes | Friends

openni_wrapper::DeviceKinect Class Reference
[Module io]

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

#include <pcl/io/openni_camera/openni_device_kinect.h>

Inheritance diagram for openni_wrapper::DeviceKinect:
Inheritance graph
[legend]
Collaboration diagram for openni_wrapper::DeviceKinect:
Collaboration 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)
virtual ~DeviceKinect () throw ()
void setDebayeringMethod (const ImageBayerGRBG::DebayeringMethod &debayering_method) throw ()
const
ImageBayerGRBG::DebayeringMethod
getDebayeringMethod () const throw ()
virtual void setSynchronization (bool on_off) throw (OpenNIException)
virtual bool isSynchronized () const throw (OpenNIException)
virtual bool isSynchronizationSupported () const throw ()
virtual bool isDepthCropped () const throw (OpenNIException)
virtual void setDepthCropping (unsigned x, unsigned y, unsigned width, unsigned height) throw (OpenNIException)
virtual bool isDepthCroppingSupported () const throw ()

Protected Member Functions

virtual boost::shared_ptr< ImagegetCurrentImage (boost::shared_ptr< xn::ImageMetaData > image_meta_data) const throw ()
virtual void getAvailableModes () throw (OpenNIException)
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 55 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)
virtual openni_wrapper::DeviceKinect::~DeviceKinect (  )  throw () [virtual]

Member Function Documentation

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

Reimplemented from openni_wrapper::OpenNIDevice.

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

Definition at line 86 of file openni_device_kinect.h.

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

Reimplemented from openni_wrapper::OpenNIDevice.

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

Reimplemented from openni_wrapper::OpenNIDevice.

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

Reimplemented from openni_wrapper::OpenNIDevice.

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

Reimplemented from openni_wrapper::OpenNIDevice.

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

Definition at line 81 of file openni_device_kinect.h.

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

Reimplemented from openni_wrapper::OpenNIDevice.

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

Reimplemented from openni_wrapper::OpenNIDevice.


Friends And Related Function Documentation

friend class OpenNIDriver [friend]

Definition at line 48 of file openni_device_kinect.h.


Member Data Documentation

Definition at line 69 of file openni_device_kinect.h.


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