34 namespace visualization {
51 std::function<
void(
bool)> on_toggled);
62 std::unique_ptr<Impl> impl_;
70 std::function<
void(
bool)> on_enabled,
71 std::function<
void(
const Color&)> on_color_changed);
76 std::shared_ptr<ColorEdit> GetColorEdit();
83 std::unique_ptr<Impl> impl_;
90 std::function<
void(
double)> on_value_changed,
91 std::function<
void(
const Color&)> on_color_changed);
94 std::shared_ptr<NumberEdit> GetNumberEdit();
95 std::shared_ptr<ColorEdit> GetColorEdit();
102 std::unique_ptr<Impl> impl_;
116 ItemId GetRootItem()
const;
118 ItemId AddItem(
ItemId parent_id, std::shared_ptr<Widget> item);
122 void RemoveItem(
ItemId item_id);
126 std::shared_ptr<Widget> GetItem(
ItemId item_id)
const;
127 std::vector<ItemId> GetItemChildren(
ItemId parent_id)
const;
129 bool GetCanSelectItemsWithChildren()
const;
133 void SetCanSelectItemsWithChildren(
bool can_select);
136 ItemId GetSelectedItemId()
const;
138 void SetSelectedItemId(
ItemId item_id);
148 void SetOnSelectionChanged(
149 std::function<
void(
ItemId)> on_selection_changed);
153 std::unique_ptr<Impl> impl_;
Definition: TreeView.cpp:162
~CheckableTextTreeCell()
Definition: TreeView.cpp:66
void Layout(const Theme &theme) override
Definition: TreeView.cpp:83
Definition: TreeView.cpp:47
int ItemId
Definition: TreeView.h:109
Size CalcPreferredSize(const Theme &theme) const override
Definition: TreeView.cpp:76
math::float4 color
Definition: LineSetBuffers.cpp:63
Definition: TreeView.h:47
Definition: TreeView.cpp:94
Definition: TreeView.cpp:217
Definition: TreeView.h:86
const char const char value recording_handle imu_sample recording_handle uint8_t size_t data_size k4a_record_configuration_t config target_format k4a_capture_t capture_handle k4a_imu_sample_t imu_sample playback_handle k4a_logging_message_cb_t void min_level device_handle k4a_imu_sample_t timeout_in_ms capture_handle capture_handle capture_handle image_handle temperature_c int
Definition: K4aPlugin.cpp:476
std::shared_ptr< Label > GetLabel()
Definition: TreeView.cpp:72
Definition: TreeView.h:65
Definition: PinholeCameraIntrinsic.cpp:35
std::shared_ptr< Checkbox > GetCheckbox()
Definition: TreeView.cpp:68
CheckableTextTreeCell(const char *text, bool is_checked, std::function< void(bool)> on_toggled)
Definition: TreeView.cpp:52
Definition: TreeView.h:105