|
| | DynamicOctree (const AABB &aabb, uint32_t maxDepth=24) |
| | Create a new octree. More...
|
| |
| void | insert (const Item &value, const AABB &coverage) |
| | Insert an item with the specified cell coverage. More...
|
| |
| template<typename Functor > |
| void | lookup (const Point &p, Functor &functor) const |
| | Execute functor.operator() on all records, which potentially overlap p. More...
|
| |
| template<typename Functor > |
| void | searchSphere (const BSphere &sphere, Functor &functor) |
| | Execute functor.operator() on all records, which potentially overlap bsphere. More...
|
| |
| const AABB & | getAABB () const |
| |
template<typename Item>
class mitsuba::DynamicOctree< Item >
Generic multiple-reference octree with support for parallel dynamic updates.
Based on the excellent implementation in PBRT. Modifications are the addition of a bounding sphere query and support for multithreading.
This class is currently used to implement irradiance caching.