#include <VectorEdit.h>
◆ VectorEdit()
open3d::gui::VectorEdit::VectorEdit |
( |
| ) |
|
◆ ~VectorEdit()
open3d::gui::VectorEdit::~VectorEdit |
( |
| ) |
|
◆ CalcPreferredSize()
Size open3d::gui::VectorEdit::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.
◆ GetValue()
Eigen::Vector3f open3d::gui::VectorEdit::GetValue |
( |
| ) |
const |
◆ SetOnValueChanged()
void open3d::gui::VectorEdit::SetOnValueChanged |
( |
std::function< void(const Eigen::Vector3f &)> |
on_changed | ) |
|
Sets the function that is called whenever the value in the widget changes because of user behavior
◆ SetValue()
void open3d::gui::VectorEdit::SetValue |
( |
const Eigen::Vector3f & |
val | ) |
|
Sets the value of the widget. Does not call onValueChanged.
The documentation for this class was generated from the following files:
- /home/travis/build/intel-isl/Open3D/cpp/open3d/visualization/gui/VectorEdit.h
- /home/travis/build/intel-isl/Open3D/cpp/open3d/visualization/gui/VectorEdit.cpp