ug4
|
#include <ntree_traverser.h>
Public Types | |
typedef tree_t::box_t | box_t |
typedef tree_t::elem_t | elem_t |
typedef RayElemIntersectionRecord< elem_t > | intersection_record_t |
typedef tree_t::vector_t | vector_t |
Public Member Functions | |
void | begin_traversal (const tree_t &tree) |
void | end_traversal (const tree_t &) |
const std::vector< intersection_record_t > & | result () const |
Traverser_RayElementIntersection (const vector_t &rayFrom, const vector_t rayDir, const number small=1.e-12) | |
void | visit_down (const tree_t &, size_t) |
int | visit_up (const tree_t &tree, size_t node) |
Private Attributes | |
std::vector< intersection_record_t > | m_intersections |
vector_t | m_rayDir |
vector_t | m_rayFrom |
const number | m_small |
typedef tree_t::box_t ug::Traverser_RayElementIntersection< tree_t >::box_t |
typedef tree_t::elem_t ug::Traverser_RayElementIntersection< tree_t >::elem_t |
typedef RayElemIntersectionRecord<elem_t> ug::Traverser_RayElementIntersection< tree_t >::intersection_record_t |
typedef tree_t::vector_t ug::Traverser_RayElementIntersection< tree_t >::vector_t |
|
inline |
|
inline |
|
inline |
|
inline |
References ug::Traverser_RayElementIntersection< tree_t >::m_intersections.
Referenced by ug::RayElementIntersections().
|
inline |
|
inline |
References ug::DONT_TRAVERSE_CHILDREN, ug::Traverser_RayElementIntersection< tree_t >::m_intersections, ug::Traverser_RayElementIntersection< tree_t >::m_rayDir, ug::Traverser_RayElementIntersection< tree_t >::m_rayFrom, ug::Traverser_RayElementIntersection< tree_t >::m_small, ug::TRAVERSE_CHILDREN, ug::VecLength(), ug::VecScale(), and ug::VecSet().
|
private |
|
private |
Referenced by ug::Traverser_RayElementIntersection< tree_t >::visit_up().
|
private |
Referenced by ug::Traverser_RayElementIntersection< tree_t >::visit_up().
|
private |
Referenced by ug::Traverser_RayElementIntersection< tree_t >::visit_up().