68 static bool available();
72 const std::string & calibrationPath =
"",
73 const std::string & replayDir =
"",
74 float imageRate = 0.0f,
75 const Transform & localTransform = Transform::getIdentity());
78 virtual bool init(
const std::string & calibrationFolder =
".",
const std::string & cameraName =
"");
79 virtual bool isCalibrated()
const;
86 void setDepthRange(
float minDepthMm,
float maxDepthMm);
87 void setMatchingScale(
double scale);
88 void setStretches(
const std::vector<double> & stretches);
90 static bool getDefaultDepthParameters(
94 std::vector<double> & stretches);
101 void setLighting(
int projectorLuminance,
int textureLuminance,
int laserPercent,
int irGain);
106 void setExposure(
bool autoExposure,
int irExposureUs,
double aeTarget);
108 static bool getDefaultLighting(
109 int & projectorLuminance,
110 int & textureLuminance,
121 std::string calibrationPath_;
122 std::string replayDir_;
126 std::vector<double> stretches_;
127 int projectorLuminance_;
128 int textureLuminance_;
134#ifdef RTABMAP_EINSTAR
135 std::unique_ptr<Impl> impl_;