openni_wrapper::DevicePrimesense Class Reference

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

#include <openni_device_primesense.h>

Inheritance diagram for openni_wrapper::DevicePrimesense:
Inheritance 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) throw (OpenNIException)
virtual ~DevicePrimesense () 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 ()
virtual void startDepthStream () throw (OpenNIException)
virtual void startImageStream () throw (OpenNIException)

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

Definition at line 49 of file openni_device_primesense.cpp.

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

Definition at line 71 of file openni_device_primesense.cpp.


Member Function Documentation

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

Reimplemented from openni_wrapper::OpenNIDevice.

Definition at line 131 of file openni_device_primesense.cpp.

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

Implements openni_wrapper::OpenNIDevice.

Definition at line 195 of file openni_device_primesense.cpp.

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

Implements openni_wrapper::OpenNIDevice.

Definition at line 85 of file openni_device_primesense.cpp.

void openni_wrapper::DevicePrimesense::startDepthStream (  )  throw (OpenNIException) [protected, virtual]

Reimplemented from openni_wrapper::OpenNIDevice.

Definition at line 240 of file openni_device_primesense.cpp.

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

Reimplemented from openni_wrapper::OpenNIDevice.

Definition at line 200 of file openni_device_primesense.cpp.


Friends And Related Function Documentation

friend class OpenNIDriver [friend]

Definition at line 45 of file openni_device_primesense.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_unstable
Author(s): Suat Gedikli, Patrick Mihelich, Radu Bogdan Rusu
autogenerated on Fri Jan 11 09:15:04 2013