openni_wrapper::DevicePrimesense Class Reference
[Module io]

Concrete implementation of the interface OpenNIDevice for a Primesense device. More...

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

Inheritance diagram for openni_wrapper::DevicePrimesense:
Inheritance graph
[legend]
Collaboration diagram for openni_wrapper::DevicePrimesense:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DevicePrimesense (xn::Context &context, const xn::NodeInfo &device_node, const xn::NodeInfo &image_node, const xn::NodeInfo &depth_node, const xn::NodeInfo &ir_node)
virtual ~DevicePrimesense () 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 ()
virtual void startImageStream ()
 starts the image stream.
virtual void startDepthStream ()
 starts the depth stream.

Friends

class OpenNIDriver

Detailed Description

Concrete implementation of the interface OpenNIDevice for a Primesense device.

Author:
Suat Gedikli
Date:
02.january 2011

Definition at line 54 of file openni_device_primesense.h.


Constructor & Destructor Documentation

openni_wrapper::DevicePrimesense::DevicePrimesense ( 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::DevicePrimesense::~DevicePrimesense (  )  throw () [virtual]

Member Function Documentation

void openni_wrapper::DevicePrimesense::enumAvailableModes (  )  throw () [protected]
virtual boost::shared_ptr<Image> openni_wrapper::DevicePrimesense::getCurrentImage ( boost::shared_ptr< xn::ImageMetaData >  image_meta_data  )  const throw () [protected, virtual]
virtual bool openni_wrapper::DevicePrimesense::isImageResizeSupported ( unsigned  input_width,
unsigned  input_height,
unsigned  output_width,
unsigned  output_height 
) const throw () [protected, virtual]
virtual void openni_wrapper::DevicePrimesense::startDepthStream (  )  [protected, virtual]

starts the depth stream.

Reimplemented from openni_wrapper::OpenNIDevice.

virtual void openni_wrapper::DevicePrimesense::startImageStream (  )  [protected, virtual]

starts the image stream.

Reimplemented from openni_wrapper::OpenNIDevice.


Friends And Related Function Documentation

friend class OpenNIDriver [friend]

Definition at line 56 of file openni_device_primesense.h.


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