[sdk]update sdk version to v2.0.24

This commit is contained in:
jj
2024-12-06 09:36:03 +08:00
parent 9b05b33dc6
commit 4f1f073d52
13 changed files with 30 additions and 9 deletions
@@ -440,6 +440,18 @@ public:
void setMatchTargetResolution(bool state) {
setConfigValue("MatchTargetRes", state);
}
/**
* @brief Set the Align To Stream Profile
* @brief It is useful when the align target stream dose not started (without any frame to get intrinsics and extrinsics).
*
* @param profile The Align To Stream Profile.
*/
void setAlignToStreamProfile(std::shared_ptr<const StreamProfile> profile) {
ob_error *error = nullptr;
ob_align_filter_set_align_to_stream_profile(impl_, profile->getImpl(), &error);
Error::handle(&error);
}
};
/**