You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 22, 2024. It is now read-only.
I request all possible k4a C++ functions be updated to support function chaining.
In general this means all possible functions do not return void. Instead, they return references to their own class.
For example
voidset_timestamp(std::chrono::microseconds timestamp); // old
k4a::image& set_timestamp(std::chrono::microseconds timestamp); // newvoidset_depth_image(const image &depth_image); // old
k4a::capture& set_depth_image(const image &depth_image); // new// this enables function chaining...
k4a::capture capture;
k4a::image image;
image.set_timestamp(1234).set_exposure_time(7500);
capture.set_depth_image(image).set_color_image(image).set_temperature_c(30.2);