class mrpt::hwdrivers::COpenNI2Generic

An abstract class for accessing OpenNI2 compatible sensors.

This class permits one to access several sensors simultaneously. The same options (resolution, fps, etc.) are used for every sensor.

More references to read:

#include <mrpt/hwdrivers/COpenNI2Generic.h>

class COpenNI2Generic
{
public:
    // classes

    class CDevice;

    // construction

    COpenNI2Generic();
    COpenNI2Generic(int width, int height, float fps = 30.0f, bool open_streams_now = true);
};

// direct descendants

class COpenNI2Sensor;
class COpenNI2_RGBD360;

Construction

COpenNI2Generic()

Default ctor (width=640, height=480, fps=30)

COpenNI2Generic(
    int width,
    int height,
    float fps = 30.0f,
    bool open_streams_now = true
    )

Ctor.

See also:

start()