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:320
void Key(const KeyEvent &e) override
Definition: PickPointsInteractor.cpp:289
void SetPointSize(int px)
Definition: PickPointsInteractor.cpp:135
void SetOnUIChanged(std::function< void(const std::vector< Eigen::Vector2i > &)>)
Definition: PickPointsInteractor.cpp:245
void SetOnPointsPicked(std::function< void(const std::map< std::string, std::vector< std::pair< size_t, Eigen::Vector3d >>> &, int)> f)
Definition: PickPointsInteractor.cpp:236
virtual ~PickPointsInteractor()
Definition: PickPointsInteractor.cpp:133
PickPointsInteractor(rendering::Open3DScene *scene, rendering::Camera *camera)
Definition: PickPointsInteractor.cpp:120
void OnPickImageDone(std::shared_ptr< geometry::Image > img)
Definition: PickPointsInteractor.cpp:340
rendering::MaterialRecord MakeMaterial()
Definition: PickPointsInteractor.cpp:330
void SetOnStartedPolygonPicking(std::function< void()> on_poly_pick)
Calls the provided function when polygon picking is initiated.
Definition: PickPointsInteractor.cpp:250
void Mouse(const MouseEvent &e) override
Definition: PickPointsInteractor.cpp:255
void DoPick()
Definition: PickPointsInteractor.cpp:297
void SetNeedsRedraw()
Definition: PickPointsInteractor.cpp:230
void SetPickableGeometry(const std::vector< SceneWidget::PickableGeometry > &geometry)
Definition: PickPointsInteractor.cpp:144
rendering::MatrixInteractorLogic & GetMatrixInteractor() override
Definition: PickPointsInteractor.cpp:232
Definition: PickPointsInteractor.cpp:69
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