32 #include "rtabmap/core/Version.h"
47 static bool available();
48 static bool exposureGainAvailable();
49 enum Type {kTypeColorDepth, kTypeIRDepth, kTypeIR};
58 virtual bool init(
const std::string & calibrationFolder =
".",
const std::string & cameraName =
"");
59 virtual bool isCalibrated()
const;
60 virtual std::string getSerial()
const;
62 bool setAutoWhiteBalance(
bool enabled);
63 bool setAutoExposure(
bool enabled);
64 bool setExposure(
int value);
65 bool setGain(
int value);
66 bool setMirroring(
bool enabled);
67 void setOpenNI2StampsAndIDsUsed(
bool used);
68 void setIRDepthShift(
int horizontal,
int vertical);
69 void setDepthDecimation(
int decimation);
75 #ifdef RTABMAP_OPENNI2
77 openni::Device * _device;
78 openni::VideoStream * _color;
79 openni::VideoStream * _depth;
82 std::string _deviceId;
83 bool _openNI2StampsAndIDsUsed;