isl-org / isl-org/Open3D

Open more API functions for TreeView, e.g., GetItem

Open
#4,031 0 comments 0 reactions 1 assignee Claimed by @errissa View on GitHub
feature request ui visualization
Dominant language
C++
Stars
14k
Forks
2.6k
Avg merge
5d 18h
Merged PRs (30d)
6

Description

I saw this function (**GetItem** in C++ code, https://github.com/isl-org/Open3D/blob/master/cpp/open3d/visualization/gui/TreeView.cpp). It will be great if you could open this function for python users in development version.

As I understand that this will return the CheckableTextTreeCell widget if the CheckableTextTreeCell widget was added, right? If yes, I can get the label of the widget directly. Thanks!

_std::shared_ptr TreeView::**GetItem**(ItemId item_id) const {
auto item_it = impl_->id2item_.find(item_id);
if (item_it != impl_->id2item_.end()) {
return item_it->second->cell;
}
return nullptr;
}_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.