#include <Menu.h>
◆ ItemId
◆ Menu()
open3d::gui::Menu::Menu |
( |
| ) |
|
◆ ~Menu()
open3d::gui::Menu::~Menu |
( |
| ) |
|
|
virtual |
◆ AddItem()
◆ AddMenu()
void open3d::gui::Menu::AddMenu |
( |
const char * |
name, |
|
|
std::shared_ptr< Menu > |
submenu |
|
) |
| |
◆ AddSeparator()
void open3d::gui::Menu::AddSeparator |
( |
| ) |
|
◆ CalcHeight()
int open3d::gui::Menu::CalcHeight |
( |
const Theme & |
theme | ) |
const |
◆ Draw()
◆ DrawMenuBar()
◆ GetNativePointer()
void * open3d::gui::Menu::GetNativePointer |
( |
| ) |
|
|
protected |
◆ IsChecked()
bool open3d::gui::Menu::IsChecked |
( |
ItemId |
item_id | ) |
const |
◆ IsEnabled()
bool open3d::gui::Menu::IsEnabled |
( |
ItemId |
item_id | ) |
const |
Searches the menu hierarchy down from this menu to find the item and returns true if the item is enabled.
◆ SetChecked()
void open3d::gui::Menu::SetChecked |
( |
ItemId |
item_id, |
|
|
bool |
checked |
|
) |
| |
◆ SetEnabled()
void open3d::gui::Menu::SetEnabled |
( |
ItemId |
item_id, |
|
|
bool |
enabled |
|
) |
| |
Searches the menu hierarchy down from this menu to find the item and set it enabled according to enabled
.
◆ Application
◆ NO_ITEM
constexpr ItemId open3d::gui::Menu::NO_ITEM = -1 |
|
static |
The documentation for this class was generated from the following files:
- /home/yixing/repo/Open3D/src/Open3D/GUI/Menu.h
- /home/yixing/repo/Open3D/src/Open3D/GUI/Menu.cpp