39 #include <pcl/pcl_config.h>
43 #include "openni_device.h"
44 #include "openni_driver.h"
46 #include <pcl/io/openni_camera/openni_image.h>
61 DevicePrimesense (xn::Context& context,
const xn::NodeInfo& device_node,
const xn::NodeInfo& image_node,
const xn::NodeInfo& depth_node,
const xn::NodeInfo& ir_node);
68 bool isImageResizeSupported (
unsigned input_width,
unsigned input_height,
unsigned output_width,
unsigned output_height) const noexcept override;
Concrete implementation of the interface OpenNIDevice for a Primesense device.
void startImageStream() override
starts the image stream.
Image::Ptr getCurrentImage(pcl::shared_ptr< xn::ImageMetaData > image_meta_data) const noexcept override
void startDepthStream() override
starts the depth stream.
void enumAvailableModes() noexcept
bool isImageResizeSupported(unsigned input_width, unsigned input_height, unsigned output_width, unsigned output_height) const noexcept override
DevicePrimesense(xn::Context &context, const xn::NodeInfo &device_node, const xn::NodeInfo &image_node, const xn::NodeInfo &depth_node, const xn::NodeInfo &ir_node)
~DevicePrimesense() noexcept override
Image class containing just a reference to image meta data.
Class representing an astract device for OpenNI devices: Primesense PSDK, Microsoft Kinect,...
pcl::shared_ptr< OpenNIDevice > Ptr
Driver class implemented as Singleton.
Defines functions, macros and traits for allocating and using memory.