Skip to content

add limitation on number of captures in DQT - #13735

Merged
Nir-Az merged 9 commits into
realsenseai:developmentfrom
gilpazintel:DQT_add_num_measurement_counter
Feb 17, 2025
Merged

add limitation on number of captures in DQT#13735
Nir-Az merged 9 commits into
realsenseai:developmentfrom
gilpazintel:DQT_add_num_measurement_counter

Conversation

@gilpazintel

Copy link
Copy Markdown
Contributor

tracked by RSDSO-20044

@gilpazintel
gilpazintel requested a review from Nir-Az February 3, 2025 13:33
Comment thread tools/depth-quality/depth-quality-model.cpp Outdated
Comment thread tools/depth-quality/depth-quality-model.cpp Outdated
Comment thread tools/depth-quality/depth-quality-model.cpp
Comment thread tools/depth-quality/depth-quality-model.h
Comment thread third-party/imgui/realsense_imgui.cpp Outdated
return pushed_style_var;
}

bool RsImGui::InputIntCentered(const char* label, int* v, int step, int step_fast, ImGuiInputTextFlags flags)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DO we really need a 100 code lines to center the text box?
I also see you used API we never used before like
IMGUI_TEST_ENGINE_ITEM_INFO
I believe this code is much more complex then it should be.
Please double check.
You can take as reference how Noy did the custom combo box text alignment

@gilpazintel gilpazintel Feb 11, 2025

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this code was ported from ImGui with full support for the flags + modification to support text centering. i can remove this functionality.

@Nir-Az
Nir-Az merged commit 8ed6e12 into realsenseai:development Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants