|
Fermat
|
An SAH-based bvh builder for 3d bboxes
#include <bvh_sah_builder.h>
Classes | |
| class | Predicate |
| struct | Stats |
Public Types | |
| typedef Vector3f | vector_type |
| typedef Bbox3f | bbox_type |
| typedef Bvh< 3u > | bvh_type |
| typedef Bvh_node | bvh_node_type |
Public Methods | |
| Bvh_sah_builder () | |
| constructor | |
| void | set_max_leaf_size (const uint32 max_leaf_size) |
| set bvh parameters | |
| void | set_force_splitting (const bool flag) |
| set force splitting | |
| void | set_force_alignment (const bool flag) |
| set force 'max leaf size'-aligned splits | |
| void | set_partial_build (const bool flag) |
| set partial build | |
| void | set_single_axis_threshold (const uint32 v) |
| set single axis test threshold | |
| template<typename Iterator > | |
| void | build (Iterator begin, Iterator end, Bvh_type *bvh) |
| uint32 | index (const uint32 i) const |
| remapped point index | |
| void cugar::deprecated::Bvh_sah_builder::build | ( | Iterator | begin, |
| Iterator | end, | ||
| Bvh_type * | bvh | ||
| ) |
build
Iterator is supposed to dereference to a Bbox3f
| begin | first point |
| end | last point |
| bvh | output bvh |
1.8.13