Fermat
|
A bvh builder for sets of low dimensional bboxes
#include <bvh.h>
Classes | |
struct | Bvh_partitioner |
Public Types | |
typedef Vector< float, DIM > | vector_type |
typedef Bbox< vector_type > | bbox_type |
Public Methods | |
Bvh_builder () | |
void | set_params (const uint32 max_leaf_size) |
template<typename Iterator > | |
void | build (const Iterator begin, const Iterator end, Bvh< DIM > *bvh) |
uint32 | index (const uint32 i) |
|
inline |
constructor
void cugar::Bvh_builder< DIM >::build | ( | const Iterator | begin, |
const Iterator | end, | ||
Bvh< DIM > * | bvh | ||
) |
build
Iterator is supposed to dereference to a Vector<float,DIM>
begin | first point |
end | last point |
bvh | output bvh |
|
inline |
remapped point index
|
inline |
set bvh parameters
max_leaf_size | maximum leaf size |