9 #ifndef mrpt_COpenNI2Generic_H 10 #define mrpt_COpenNI2Generic_H 37 static int getNumInstances();
49 bool &hardware_error ,
50 unsigned sensor_id = 0);
62 bool &hardware_error ,
63 unsigned sensor_id = 0);
73 void getNextFrameRGBD(
76 bool &hardware_error ,
77 unsigned sensor_id = 0);
85 void open(
unsigned sensor_id = 0);
91 unsigned int openDevicesBySerialNum(
const std::set<unsigned>& vSerialRequired);
97 unsigned int openDeviceBySerial(
const unsigned int SerialRequired);
99 bool getDeviceIDFromSerialNum(
const unsigned int SerialRequired,
int& sensor_id)
const;
102 bool isOpen(
const unsigned sensor_id)
const;
103 void close(
unsigned sensor_id = 0);
104 int getNumDevices()
const;
105 int getConnectedDevices();
109 void setVerbose(
bool verbose);
110 bool isVerbose()
const;
bool m_grab_image
The data that the RGBD sensors can return.
A class for storing images as grayscale or RGB bitmaps.
Declares a class derived from "CObservation" that encapsules a 3D range scan measurement, as from a time-of-flight range camera or any other RGBD sensor.
int m_width
The same options (width, height and fps) are set for all the sensors.
An abstract class for accessing OpenNI2 compatible sensors.
std::vector< int > vSerialNums
A vector with the serial numbers of the available devices.
GLsizei const GLchar ** string
unsigned __int64 uint64_t
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
This class is a "CSerializable" wrapper for "CMatrixFloat".
GLenum GLsizei GLsizei height
Structure to hold the parameters of a pinhole camera model.