#include <Checkbox.h>
◆ Checkbox()
open3d::gui::Checkbox::Checkbox |
( |
const char * |
name | ) |
|
|
explicit |
◆ ~Checkbox()
open3d::gui::Checkbox::~Checkbox |
( |
| ) |
|
◆ CalcPreferredSize()
Size open3d::gui::Checkbox::CalcPreferredSize |
( |
const Theme & |
theme | ) |
const |
|
overridevirtual |
◆ Draw()
Draws the widget. If this is a Dear ImGUI widget, this is where the actual event processing happens. Return NONE if no action needs to be taken, REDRAW if the widget needs to be redrawn (e.g. its value changed), and RELAYOUT if the widget wishes to change size.
Reimplemented from open3d::gui::Widget.
◆ IsChecked()
bool open3d::gui::Checkbox::IsChecked |
( |
| ) |
const |
◆ SetChecked()
void open3d::gui::Checkbox::SetChecked |
( |
bool |
checked | ) |
|
◆ SetOnChecked()
void open3d::gui::Checkbox::SetOnChecked |
( |
std::function< void(bool)> |
on_checked | ) |
|
Specifies a callback function which will be called when the box changes checked state as a result of user action.
The documentation for this class was generated from the following files:
- /home/travis/build/intel-isl/Open3D/cpp/open3d/visualization/gui/Checkbox.h
- /home/travis/build/intel-isl/Open3D/cpp/open3d/visualization/gui/Checkbox.cpp