Fermat
|
Cuda accessor struct.
#include <kd_context.h>
Public Methods | |
CUGAR_HOST_DEVICE | Context (Kd_node *nodes, uint2 *leaves, uint2 *ranges) |
CUGAR_HOST_DEVICE void | write_node (const uint32 node, const uint32 offset, const uint32 skip_node, const uint32 begin, const uint32 end, const uint32 split_index, const uint32 split_dim, const float split_plane) |
write a new node | |
CUGAR_HOST_DEVICE void | write_node (const uint32 node, const uint32 offset, const uint32 skip_node, const uint32 begin, const uint32 end) |
write a new node | |
CUGAR_HOST_DEVICE void | write_leaf (const uint32 index, const uint32 begin, const uint32 end) |
write a new leaf | |
Public Members | |
Kd_node * | m_nodes |
node pointer | |
uint2 * | m_leaves |
leaf pointer | |
uint2 * | m_ranges |
range pointer | |