Fermat
Classes | Namespaces | Functions
packing.h File Reference

Defines utility functions to pack a set of bvh nodes and their bboxes into a single set of 4d bboxes. More...

#include <cugar/bvh/bvh.h>
#include <thrust/transform.h>
#include <thrust/tuple.h>

Go to the source code of this file.

Classes

struct  cugar::cuda::bvh_packing_functor
 

Namespaces

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

Functions

template<typename Node_iterator , typename Bbox_iterator , typename Output_iterator >
void cugar::cuda::pack (const uint32 n_nodes, Node_iterator nodes, Bbox_iterator bboxes, Output_iterator packed_nodes)
 

Detailed Description

Defines utility functions to pack a set of bvh nodes and their bboxes into a single set of 4d bboxes.