39 #include <pcl/pcl_config.h>
43 #include "openni_exception.h"
44 #include "openni_device.h"
45 #include <pcl/io/boost.h>
85 unsigned updateDeviceList ();
91 inline unsigned getNumberDevices ()
const throw ();
101 OpenNIDevice::Ptr createVirtualDevice (
const std::string& path,
bool repeat,
bool stream)
const;
117 OpenNIDevice::Ptr getDeviceBySerialNumber (
const std::string& serial_number)
const;
127 OpenNIDevice::Ptr getDeviceByAddress (
unsigned char bus,
unsigned char address)
const;
136 const char* getSerialNumber (
unsigned index)
const throw ();
144 const char* getConnectionString (
unsigned index)
const throw ();
152 const char* getVendorName (
unsigned index)
const throw ();
160 const char* getProductName (
unsigned index)
const throw ();
168 unsigned short getVendorID (
unsigned index)
const throw ();
176 unsigned short getProductID (
unsigned index)
const throw ();
184 unsigned char getBus (
unsigned index)
const throw ();
192 unsigned char getAddress (
unsigned index)
const throw ();
208 getDeviceType (
const std::string& connection_string,
unsigned short& vendorId,
unsigned short& productId);
213 DeviceContext (
const xn::NodeInfo& device_node, xn::NodeInfo* image_node, xn::NodeInfo* depth_node, xn::NodeInfo * ir_node);
228 void getDeviceInfos () throw ();
234 std::map< unsigned char, std::map<unsigned char, unsigned > >
bus_map_;