|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
Immutable spatial snapshot published atomically for lock-free reads. More...
#include <SpatialIndex.hpp>
Collaboration diagram for MayaFlux::Kinesis::SpatialSnapshot< PointT >:Public Attributes | |
| float | cell_size {} |
| Cell size used when this snapshot was built. | |
| std::unordered_map< uint64_t, std::vector< uint32_t > > | cells |
| Grid cell contents. Key is hashed cell coordinate. | |
| uint32_t | dimensions {} |
| Dimensionality (3 for glm::vec3, runtime for Eigen). | |
| std::unordered_map< uint32_t, uint32_t > | id_to_slot |
| Maps external entity id to internal slot index. | |
| std::vector< PointT > | positions |
| Packed position storage indexed by internal slot. | |
| std::vector< uint32_t > | slot_to_id |
| Maps internal slot index back to external entity id. | |
Immutable spatial snapshot published atomically for lock-free reads.
| PointT | Coordinate type (glm::vec3 or Eigen::VectorXd). |
Definition at line 18 of file SpatialIndex.hpp.