Fermat
Classes | Public Types | Public Methods | Public Members | List of all members
cugar::cuda::kd::Kd_context< DIM, BboxType, Integer, OutputTree > Struct Template Reference

Detailed description

template<uint32 DIM, typename BboxType, typename Integer, typename OutputTree>
struct cugar::cuda::kd::Kd_context< DIM, BboxType, Integer, OutputTree >

A simple binary tree context implementation to be used with the Bvh generate() function.

#include <kd_builder_inline.h>

Classes

struct  Context
 Cuda accessor struct. More...
 

Public Types

typedef OutputTree::Context BaseContext
 

Public Methods

 Kd_context (OutputTree context, const Integer *codes, BboxType bbox)
 constructor
 
void reserve_nodes (const uint32 n)
 reserve space for more nodes
 
void reserve_leaves (const uint32 n)
 reserve space for more leaves
 
Context get_context ()
 return a cuda context
 

Public Members

OutputTree m_context
 
const Integer * m_codes
 
BboxType m_bbox
 

The documentation for this struct was generated from the following file: