|
core 1.5.0
Shared MPI block decomposition, asynchronous ghost-layer exchange, SDF geometry, load balancing (header-only C++20)
|
Non-owning candidate grid: uniform bins over [origin, origin+extent), CSR lists of primitive (or instance) indices, plus an ALWAYS list of never-pruned entries. More...
#include <scene_query.hpp>
Public Member Functions | |
| PECLET_HD long | binOf (Vec3< Real > p) const |
| Flat bin index of a point, or -1 when the point is outside a non-periodic grid's coverage (the caller must fall back to the full scan — exactness before speed). | |
Public Attributes | |
| int | nx = 0 |
| int | ny = 0 |
| int | nz = 0 |
| Real | ox = 0 |
| Real | oy = 0 |
| Real | oz = 0 |
| Real | bx = 1 |
| Real | by = 1 |
| Real | bz = 1 |
| const int * | offsets = nullptr |
| const int * | items = nullptr |
| const int * | always = nullptr |
| int | alwaysCount = 0 |
| bool | wrap = false |
Non-owning candidate grid: uniform bins over [origin, origin+extent), CSR lists of primitive (or instance) indices, plus an ALWAYS list of never-pruned entries.
POD, device-copyable.
Definition at line 178 of file scene_query.hpp.
Flat bin index of a point, or -1 when the point is outside a non-periodic grid's coverage (the caller must fall back to the full scan — exactness before speed).
Definition at line 190 of file scene_query.hpp.
References peclet::core::geom::CandidateGridView< Real >::bx, peclet::core::geom::CandidateGridView< Real >::by, peclet::core::geom::CandidateGridView< Real >::bz, peclet::core::detail::hdFloor(), peclet::core::geom::CandidateGridView< Real >::nx, peclet::core::geom::CandidateGridView< Real >::ny, peclet::core::geom::CandidateGridView< Real >::nz, peclet::core::geom::CandidateGridView< Real >::ox, peclet::core::geom::CandidateGridView< Real >::oy, peclet::core::geom::CandidateGridView< Real >::oz, peclet::core::geom::CandidateGridView< Real >::wrap, peclet::core::Vec3< Real >::x, peclet::core::Vec3< Real >::y, and peclet::core::Vec3< Real >::z.
Referenced by peclet::core::geom::evalSceneGrid(), peclet::core::geom::evalSphereUnionGrid(), peclet::core::geom::sceneEvalOwnerGrid(), and peclet::core::geom::sphereUnionEvalOwnerGrid().
| int peclet::core::geom::CandidateGridView< Real >::nx = 0 |
Definition at line 179 of file scene_query.hpp.
Referenced by peclet::core::geom::CandidateGridView< Real >::binOf().
| int peclet::core::geom::CandidateGridView< Real >::ny = 0 |
Definition at line 179 of file scene_query.hpp.
Referenced by peclet::core::geom::CandidateGridView< Real >::binOf().
| int peclet::core::geom::CandidateGridView< Real >::nz = 0 |
Definition at line 179 of file scene_query.hpp.
Referenced by peclet::core::geom::CandidateGridView< Real >::binOf().
| Real peclet::core::geom::CandidateGridView< Real >::ox = 0 |
Definition at line 180 of file scene_query.hpp.
Referenced by peclet::core::geom::CandidateGridView< Real >::binOf().
| Real peclet::core::geom::CandidateGridView< Real >::oy = 0 |
Definition at line 180 of file scene_query.hpp.
Referenced by peclet::core::geom::CandidateGridView< Real >::binOf().
| Real peclet::core::geom::CandidateGridView< Real >::oz = 0 |
Definition at line 180 of file scene_query.hpp.
Referenced by peclet::core::geom::CandidateGridView< Real >::binOf().
| Real peclet::core::geom::CandidateGridView< Real >::bx = 1 |
Definition at line 181 of file scene_query.hpp.
Referenced by peclet::core::geom::CandidateGridView< Real >::binOf().
| Real peclet::core::geom::CandidateGridView< Real >::by = 1 |
Definition at line 181 of file scene_query.hpp.
Referenced by peclet::core::geom::CandidateGridView< Real >::binOf().
| Real peclet::core::geom::CandidateGridView< Real >::bz = 1 |
Definition at line 181 of file scene_query.hpp.
Referenced by peclet::core::geom::CandidateGridView< Real >::binOf().
Definition at line 184 of file scene_query.hpp.
Referenced by peclet::core::geom::evalSceneGrid(), peclet::core::geom::sceneEvalOwnerGrid(), and peclet::core::geom::CandidateGrid< Real >::view().
| int peclet::core::geom::CandidateGridView< Real >::alwaysCount = 0 |
Definition at line 185 of file scene_query.hpp.
Referenced by peclet::core::geom::evalSceneGrid(), peclet::core::geom::sceneEvalOwnerGrid(), and peclet::core::geom::CandidateGrid< Real >::view().
Definition at line 186 of file scene_query.hpp.
Referenced by peclet::core::geom::CandidateGridView< Real >::binOf().