-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grouping drawables #100
Comments
Hi Koide, I was finally settling down after coming back from the Japan (It is nice to meet with you in person :). Please let me know if there is any features I can help you to test with. Thanks. |
It was really nice to meet you too! It was one of the big moments at ICRA for me :) Last a few weeks, I didn't have enough time to work on Iridescence because I had another domestic conference and many tasks (and my ubuntu PC at home got some troubles :( ) after ICRA. But, I'm getting back to my usual daily life, and will soon bring some improvements. At that time I'll ask you for help testing new features. |
@Seekerzero #include <guik/drawable_tree.hpp>
auto tree = std::make_shared<DrawableTree>();
// Register drawables to the tree.
tree->update_drawable("parent/child/node1", drawable1, guik::VertexColor(node1_matrix));
tree->update_drawable("parent/child/node2", drawable2, guik::VertexColor(node2_matrix));
// Update shader settings. This matrix is applied to both "node1" and "node2".
tree->update_setting("parent/child", guik::ShaderSetting(child_matrix));
// Overwrite the color settings of all children of "parent/child".
tree->update_tree_color_mode("parent/child", guik::ColorMode::FLAT_COLOR);
tree->update_tree_color("parent/child", Eigen::Vector4f(0.0f, 0.0f, 1.0f, 1.0f));
// Overwrite the point scale of all children of "parent/child".
tree->update_tree_setting("parent/child", "point_scale", 2.0f);
// Output the tree structure to stdout for debugging.
tree->print_tree();
viewer->update_drawable("tree", tree); |
Thank you! Sure, I will test them and let you know. |
Hi Koide, |
Hi @Seekerzero , It's been a while! |
I totally understand that it was the ICRA due day. I know it :) Thanks for the help! |
#84 (comment)
The text was updated successfully, but these errors were encountered: