47 static bool available();
48 static bool exposureGainAvailable();
49 enum Type {kTypeColorDepth, kTypeIRDepth, kTypeIR};
53 Type type = kTypeColorDepth,
55 const Transform & localTransform = Transform::getIdentity());
58 virtual bool init(
const std::string & calibrationFolder =
".",
const std::string & cameraName =
"");
59 virtual bool isCalibrated()
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);
77 openni::Device * _device;
78 openni::VideoStream * _color;
79 openni::VideoStream * _depth;
82 std::string _deviceId;
83 bool _openNI2StampsAndIDsUsed;