CameraK4A: refactored to unify playback and real device code. Fixed ir option (with rectification).

This commit is contained in:
matlabbe
2020-09-04 12:48:18 -04:00
parent d2784095a3
commit 49cb470b8d
6 changed files with 309 additions and 402 deletions
@@ -146,6 +146,8 @@ public:
void reproject(float x, float y, float z, int & u, int & v) const;
bool inFrame(int u, int v) const;
friend std::ostream& operator<<(std::ostream& os, const CameraModel& model);
private:
std::string name_;
cv::Size imageSize_;
@@ -158,5 +160,7 @@ private:
Transform localTransform_;
};
RTABMAP_EXP std::ostream& operator<<(std::ostream& os, const CameraModel& model);
} /* namespace rtabmap */
#endif /* CAMERAMODEL_H_ */