22 namespace visualization {
26 struct MaterialRecord;
27 class MatrixInteractorLogic;
33 class SelectionIndexLookup;
47 const std::vector<SceneWidget::PickableGeometry>& geometry);
59 std::vector<std::pair<size_t, Eigen::Vector3d>>>&,
66 std::function<
void(
const std::vector<Eigen::Vector2i>&)>);
88 const std::map<std::string,
89 std::vector<std::pair<size_t, Eigen::Vector3d>>>&,
92 std::function<
void(
const std::vector<Eigen::Vector2i>&)> on_ui_changed_;
93 std::function<
void()> on_started_poly_pick_;
96 std::shared_ptr<rendering::Open3DScene> picking_scene_;
97 std::vector<Eigen::Vector3d> points_;
101 std::shared_ptr<geometry::Image> pick_image_;
104 std::vector<gui::Point> polygon;
107 std::queue<PickInfo> pending_;
Definition: PickPointsInteractor.h:36
void ClearPick()
Definition: PickPointsInteractor.cpp:342
void Key(const KeyEvent &e) override
Definition: PickPointsInteractor.cpp:311
void SetPointSize(int px)
Definition: PickPointsInteractor.cpp:137
void SetOnUIChanged(std::function< void(const std::vector< Eigen::Vector2i > &)>)
Definition: PickPointsInteractor.cpp:264
void SetOnPointsPicked(std::function< void(const std::map< std::string, std::vector< std::pair< size_t, Eigen::Vector3d >>> &, int)> f)
Definition: PickPointsInteractor.cpp:255
virtual ~PickPointsInteractor()
Definition: PickPointsInteractor.cpp:135
PickPointsInteractor(rendering::Open3DScene *scene, rendering::Camera *camera)
Definition: PickPointsInteractor.cpp:122
void OnPickImageDone(std::shared_ptr< geometry::Image > img)
Definition: PickPointsInteractor.cpp:362
rendering::MaterialRecord MakeMaterial()
Definition: PickPointsInteractor.cpp:352
void SetOnStartedPolygonPicking(std::function< void()> on_poly_pick)
Calls the provided function when polygon picking is initiated.
Definition: PickPointsInteractor.cpp:269
void Mouse(const MouseEvent &e) override
Definition: PickPointsInteractor.cpp:274
void DoPick()
Definition: PickPointsInteractor.cpp:319
void SetNeedsRedraw()
Definition: PickPointsInteractor.cpp:249
void SetPickableGeometry(const std::vector< SceneWidget::PickableGeometry > &geometry)
Definition: PickPointsInteractor.cpp:146
rendering::MatrixInteractorLogic & GetMatrixInteractor() override
Definition: PickPointsInteractor.cpp:251
Definition: PickPointsInteractor.cpp:71
Definition: MatrixInteractorLogic.h:20
Definition: Open3DScene.h:38
const char const char value recording_handle imu_sample void
Definition: K4aPlugin.cpp:250
Definition: PinholeCameraIntrinsic.cpp:16
Definition: MaterialRecord.h:22