#include <NumberEdit.h>
◆ Type
◆ NumberEdit()
open3d::visualization::gui::NumberEdit::NumberEdit |
( |
Type |
type | ) |
|
|
explicit |
◆ ~NumberEdit()
open3d::visualization::gui::NumberEdit::~NumberEdit |
( |
| ) |
|
◆ CalcPreferredSize()
Size open3d::visualization::gui::NumberEdit::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::visualization::gui::Widget.
◆ GetDecimalPrecision()
int open3d::visualization::gui::NumberEdit::GetDecimalPrecision |
( |
| ) |
|
◆ GetDoubleValue()
double open3d::visualization::gui::NumberEdit::GetDoubleValue |
( |
| ) |
const |
◆ GetIntValue()
int open3d::visualization::gui::NumberEdit::GetIntValue |
( |
| ) |
const |
◆ GetMaximumValue()
double open3d::visualization::gui::NumberEdit::GetMaximumValue |
( |
| ) |
const |
◆ GetMinimumValue()
double open3d::visualization::gui::NumberEdit::GetMinimumValue |
( |
| ) |
const |
◆ SetDecimalPrecision()
void open3d::visualization::gui::NumberEdit::SetDecimalPrecision |
( |
int |
num_digits | ) |
|
◆ SetLimits()
void open3d::visualization::gui::NumberEdit::SetLimits |
( |
double |
min_value, |
|
|
double |
max_value |
|
) |
| |
◆ SetOnValueChanged()
void open3d::visualization::gui::NumberEdit::SetOnValueChanged |
( |
std::function< void(double)> |
on_changed | ) |
|
◆ SetPreferredWidth()
void open3d::visualization::gui::NumberEdit::SetPreferredWidth |
( |
int |
width | ) |
|
◆ SetValue()
void open3d::visualization::gui::NumberEdit::SetValue |
( |
double |
val | ) |
|
The documentation for this class was generated from the following files: