ARCore device - create plane manager, refactor plane logic
Mostly mechanical change: - move maps that track plane state to a separate ArCorePlaneManager class - make some of the helpers shared between arcore_impl.cc and arcore_plane_manager.cc (scoped arcore objects, conversions from ARCore entities to mojo for cases where ArSession* is needed) - instead of passing mojo's `const TypePtr&` around, pass `const Type&` Step 1/N - preparing from creating anchors from hit test results since plane state will need to be tracked independently from plane detection feature - hit test feature will also need to be aware of the planes. Change-Id: Ic4cc008ce4466e85fe65b3901a4848ebb03d6dc5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2055587Reviewed-by:Klaus Weidner <klausw@chromium.org> Commit-Queue: Piotr Bialecki <bialpio@chromium.org> Cr-Commit-Position: refs/heads/master@{#741268}
Showing
This diff is collapsed.
Please register or sign in to comment