Fermat
|
Base bvh topology node class
#include <bvh_node.h>
Public Types | |
enum | internal_type { kInternal = 0 } |
enum | leaf_type { kLeaf = 1 } |
typedef leaf_range_tag | node_tag |
Public Methods | |
CUGAR_HOST_DEVICE | Bvh_node () |
CUGAR_HOST_DEVICE | Bvh_node (const internal_type type, const uint32 child_index, const uint32 range_size=0) |
CUGAR_HOST_DEVICE | Bvh_node (const leaf_type type, const uint32 leaf_begin, const uint32 leaf_end) |
CUGAR_HOST_DEVICE Bvh_node & | operator= (const Bintree_node< leaf_range_tag > &base) |
|
inline |
default constructor
|
inline |
internal node constructor
|
inline |
leaf node constructor
|
inline |
assign the base type