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 throw () override;
Defines functions, macros and traits for allocating and using memory.
Class representing an astract device for OpenNI devices: Primesense PSDK, Microsoft Kinect...
Image class containing just a reference to image meta data.
Concrete implementation of the interface OpenNIDevice for a Primesense device.
pcl::shared_ptr< OpenNIDevice > Ptr
bool isImageResizeSupported(unsigned input_width, unsigned input_height, unsigned output_width, unsigned output_height) const override
void enumAvailableModes() noexcept
void startDepthStream() override
starts the depth stream.
Image::Ptr getCurrentImage(pcl::shared_ptr< xn::ImageMetaData > image_meta_data) const override
Driver class implemented as Singleton.
~DevicePrimesense() noexcept
void startImageStream() override
starts the image stream.
DevicePrimesense(xn::Context &context, const xn::NodeInfo &device_node, const xn::NodeInfo &image_node, const xn::NodeInfo &depth_node, const xn::NodeInfo &ir_node)