29 #include <Eigen/Geometry> 45 void SetValue(
const Eigen::Vector3f& val);
50 std::function<
void(
const Eigen::Vector3f&)> on_changed);
57 std::unique_ptr<Impl> impl_;
Widget::DrawResult Draw(const DrawContext &context) override
Definition: VectorEdit.cpp:77
~VectorEdit()
Definition: VectorEdit.cpp:54
Size CalcPreferredSize(const Theme &theme) const override
Definition: VectorEdit.cpp:71
Definition: VectorEdit.cpp:42
Eigen::Vector3f GetValue() const
Definition: VectorEdit.cpp:56
Definition: Open3DViewer.h:29
void SetValue(const Eigen::Vector3f &val)
Sets the value of the widget. Does not call onValueChanged.
Definition: VectorEdit.cpp:58
VectorEdit()
Definition: VectorEdit.cpp:49
void SetOnValueChanged(std::function< void(const Eigen::Vector3f &)> on_changed)
Definition: VectorEdit.cpp:66
Definition: VectorEdit.h:36