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, const xn::NodeInfo &ir_node)
virtual ~DeviceKinect () throw ()
void setDebayeringMethod (const ImageBayerGRBG::DebayeringMethod &debayering_method) throw ()
const
ImageBayerGRBG::DebayeringMethod
getDebayeringMethod () const throw ()
virtual bool isSynchronizationSupported () const throw ()

Protected Member Functions

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

Member Function Documentation

void openni_wrapper::DeviceKinect::enumAvailableModes (  )  throw () [protected]
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 82 of file openni_device_kinect.h.

References debayering_method_.

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]
Returns:
true if the Device supports hardware synchronization between Depth and RGB streams or not.

Reimplemented from openni_wrapper::OpenNIDevice.

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

Definition at line 76 of file openni_device_kinect.h.


Friends And Related Function Documentation

friend class OpenNIDriver [friend]

Definition at line 58 of file openni_device_kinect.h.


Member Data Documentation

Definition at line 72 of file openni_device_kinect.h.

Referenced by getDebayeringMethod().


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