14#include <lagrange/ui/api.h>
15#include <lagrange/ui/Entity.h>
16#include <lagrange/ui/components/Bounds.h>
17#include <lagrange/ui/components/Layer.h>
39 const Registry& registry,
40 const Eigen::Vector3f& from,
47 const Registry& registry,
48 const Eigen::Vector3f& from,
Lagrange UI Viewer and mini 3D engine.
Definition: AcceleratedPicking.h:22
LA_UI_API float get_nearest_bounds_distance(const Registry ®istry, const Eigen::Vector3f &from, const Layer &visible, const Layer &hidden)
Returns the least distance between from and any point within any bounding box.
Definition: bounds.cpp:22
LA_UI_API AABB get_bounding_box_local(const Registry ®istry, Entity e)
Returns Axis Aligned Bounding Box of the entity in model space If entity does not have bounds,...
Definition: bounds.cpp:114
LA_UI_API AABB get_bounding_box(const Registry ®istry, Entity e)
Returns Axis Aligned Bounding Box of the entity in world space If entity does not have bounds,...
Definition: bounds.cpp:105
LA_UI_API AABB get_scene_bounding_box(const Registry ®istry)
Returns the bounding box of everything (must be set as context variable after update_scene_bounds)
Definition: bounds.cpp:79
LA_UI_API const Bounds & get_scene_bounds(const Registry ®istry)
Returns the bounds of everything (must be set as context variable after update_scene_bounds)
Definition: bounds.cpp:84
LA_UI_API AABB get_selection_bounding_box(const Registry ®istry)
Returns Axis Aligned Bounding Box of all entities with <Selected> component If there's no selection r...
Definition: bounds.cpp:94
LA_UI_API float get_furthest_bounds_distance(const Registry ®istry, const Eigen::Vector3f &from, const Layer &visible, const Layer &hidden)
Returns the greatest distance between from and any point within any bounding box.
Definition: bounds.cpp:45
Main namespace for Lagrange.
Definition: AABBIGL.h:30