#include <BoundingIntervalHierarchyWrapper.h>
|
| | BIHWrap () |
| |
| void | insert (T const &obj) |
| |
| void | remove (T const &obj) |
| |
| void | balance () |
| |
| template<typename RayCallback > |
| void | intersectRay (G3D::Ray const &ray, RayCallback &intersectCallback, float &maxDist) |
| |
| template<typename IsectCallback > |
| void | intersectPoint (G3D::Vector3 const &point, IsectCallback &intersectCallback) |
| |
| std::span< T const *const > | getObjects () const |
| |
template<class T, class BoundsFunc = BoundsTrait<T>>
class BIHWrap< T, BoundsFunc >
Definition at line 26 of file BoundingIntervalHierarchyWrapper.h.
◆ BIHWrap()
template<class T , class BoundsFunc = BoundsTrait<T>>
◆ balance()
template<class T , class BoundsFunc = BoundsTrait<T>>
| void BIHWrap< T, BoundsFunc >::balance |
( |
| ) |
|
|
inline |
◆ getObjects()
template<class T , class BoundsFunc = BoundsTrait<T>>
| std::span< T const *const > BIHWrap< T, BoundsFunc >::getObjects |
( |
| ) |
const |
|
inline |
◆ insert()
template<class T , class BoundsFunc = BoundsTrait<T>>
| void BIHWrap< T, BoundsFunc >::insert |
( |
T const & |
obj | ) |
|
|
inline |
◆ intersectPoint()
template<class T , class BoundsFunc = BoundsTrait<T>>
template<typename IsectCallback >
| void BIHWrap< T, BoundsFunc >::intersectPoint |
( |
G3D::Vector3 const & |
point, |
|
|
IsectCallback & |
intersectCallback |
|
) |
| |
|
inline |
◆ intersectRay()
template<class T , class BoundsFunc = BoundsTrait<T>>
template<typename RayCallback >
| void BIHWrap< T, BoundsFunc >::intersectRay |
( |
G3D::Ray const & |
ray, |
|
|
RayCallback & |
intersectCallback, |
|
|
float & |
maxDist |
|
) |
| |
|
inline |
◆ remove()
template<class T , class BoundsFunc = BoundsTrait<T>>
| void BIHWrap< T, BoundsFunc >::remove |
( |
T const & |
obj | ) |
|
|
inline |
◆ m_obj2Idx
template<class T , class BoundsFunc = BoundsTrait<T>>
| std::unordered_map<T const*, std::size_t> BIHWrap< T, BoundsFunc >::m_obj2Idx |
|
private |
◆ m_objects
template<class T , class BoundsFunc = BoundsTrait<T>>
| std::vector<T const*> BIHWrap< T, BoundsFunc >::m_objects |
|
private |
◆ m_tree
template<class T , class BoundsFunc = BoundsTrait<T>>
◆ unbalanced_times
template<class T , class BoundsFunc = BoundsTrait<T>>
| int BIHWrap< T, BoundsFunc >::unbalanced_times |
|
private |
The documentation for this class was generated from the following file: