Go to the documentation of this file.
38 #ifndef OPENNI_OPENNI_H_
39 #define OPENNI_OPENNI_H_
45 #include <boost/shared_ptr.hpp>
46 #include <boost/weak_ptr.hpp>
47 #include <XnCppWrapper.h>
80 unsigned short getVendorID (
unsigned index)
const throw ();
81 unsigned short getProductID (
unsigned index)
const throw ();
82 unsigned char getBus (
unsigned index)
const throw ();
83 unsigned char getAddress (
unsigned index)
const throw ();
85 void getPrimesenseSerial(xn::NodeInfo info,
char* buffer,
unsigned buf_size)
const throw ();
89 static void getDeviceType (
const std::string& connection_string,
unsigned short& vendorId,
unsigned short& productId);
114 std::map< unsigned char, std::map<unsigned char, unsigned > >
bus_map_;
boost::shared_ptr< OpenNIDevice > createVirtualDevice(const std::string &path, bool repeat, bool stream) const
Class representing an astract device for Primesense or MS Kinect devices.
unsigned updateDeviceList()
boost::shared_ptr< xn::NodeInfo > ir_node
DeviceContext(const xn::NodeInfo &device_node, xn::NodeInfo *image_node, xn::NodeInfo *depth_node, xn::NodeInfo *ir_node)
unsigned char getBus(unsigned index) const
boost::shared_ptr< OpenNIDevice > getDeviceByIndex(unsigned index) const
std::vector< DeviceContext > device_context_
void getPrimesenseSerial(xn::NodeInfo info, char *buffer, unsigned buf_size) const
unsigned short getVendorID(unsigned index) const
boost::shared_ptr< xn::NodeInfo > image_node
std::map< unsigned char, std::map< unsigned char, unsigned > > bus_map_
boost::shared_ptr< OpenNIDevice > getDevice(unsigned index) const
unsigned getNumberDevices() const
const char * getConnectionString(unsigned index) const
returns the connectionstring for current device, which has following format vendorID/productID@BusID/...
boost::shared_ptr< OpenNIDevice > getDeviceByAddress(unsigned char bus, unsigned char address) const
const char * getProductName(unsigned index) const
boost::shared_ptr< OpenNIDevice > getDeviceBySerialNumber(const std::string &serial_number) const
static OpenNIDriver & getInstance()
std::map< std::string, unsigned > connection_string_map_
unsigned char getAddress(unsigned index) const
boost::shared_ptr< xn::NodeInfo > depth_node
std::map< std::string, unsigned > serial_map_
unsigned short getProductID(unsigned index) const
boost::weak_ptr< OpenNIDevice > device
const char * getVendorName(unsigned index) const
const char * getSerialNumber(unsigned index) const
Driver class implemented as Singleton. This class contains the xn::Context object used by all devices...
static void getDeviceType(const std::string &connection_string, unsigned short &vendorId, unsigned short &productId)
openni_camera
Author(s): Patrick Mihelich, Suat Gedikli, Radu Bogdan Rusu
autogenerated on Thu Apr 21 2022 02:37:23