Fermat
Classes | Namespaces | Functions
bvh.h File Reference

Entry point to the generic Bounding Volume Hierarchy library. More...

#include <cugar/bvh/bvh_node.h>
#include <cugar/bintree/bintree_node.h>
#include <cugar/linalg/vector.h>
#include <cugar/linalg/bbox.h>
#include <cugar/basic/cuda/pointers.h>
#include <vector>
#include <stack>
#include <cugar/bvh/bvh_inline.h>

Go to the source code of this file.

Classes

struct  cugar::Bvh< DIM >
 
class  cugar::Bvh_builder< DIM >
 
struct  cugar::Bvh_node_3d_bbox_iterator
 
struct  cugar::Bvh_node_3d_bbox_iterator::Reference
 

Namespaces

 cugar
 Define a vector_view POD type and plain_view() for std::vector.
 

Functions

float cugar::compute_sah_cost (const Bvh< 3 > &bvh, uint32 node_index=0)
 compute SAH cost of a subtree
 
void cugar::build_skip_nodes (const Bvh_node *nodes, uint32 *skip_nodes)
 build skip nodes for a tree
 

Detailed Description

Entry point to the generic Bounding Volume Hierarchy library.