10 #include <Eigen/Geometry>
15 namespace visualization {
27 void SetValue(
const Eigen::Vector3f& val);
32 std::function<
void(
const Eigen::Vector3f&)> on_changed);
40 std::unique_ptr<Impl> impl_;
ImGuiContext * context
Definition: Window.cpp:76
Definition: VectorEdit.h:18
Widget::DrawResult Draw(const DrawContext &context) override
Definition: VectorEdit.cpp:58
void SetOnValueChanged(std::function< void(const Eigen::Vector3f &)> on_changed)
Definition: VectorEdit.cpp:46
Size CalcPreferredSize(const LayoutContext &context, const Constraints &constraints) const override
Definition: VectorEdit.cpp:51
void SetValue(const Eigen::Vector3f &val)
Sets the value of the widget. Does not call onValueChanged.
Definition: VectorEdit.cpp:38
Eigen::Vector3f GetValue() const
Definition: VectorEdit.cpp:36
~VectorEdit()
Definition: VectorEdit.cpp:34
VectorEdit()
Definition: VectorEdit.cpp:30
Definition: PinholeCameraIntrinsic.cpp:16
Definition: VectorEdit.cpp:23